HardenedBSD/games/atc/Makefile
Andrey A. Chernov 98b6c02f5c Installed scenarios was unreadable with change games uid->gid, fix it
Beforeinstall score file to the right place
Use srandomdev
Remove revoke, it broke scores and scenarios
Fix names in FILES manpage section
1997-09-24 03:28:24 +00:00

21 lines
671 B
Makefile

# @(#)Makefile 8.1 (Berkeley) 5/31/93
PROG= atc
CFLAGS+=-DBSD -I${.CURDIR} -I.
SRCS= extern.c grammar.c graphics.c input.c lex.c list.c log.c \
main.c tunable.c update.c
MAN6= atc.6
DPADD= ${LIBL} ${LIBM} ${LIBCURSES} ${LIBTERMCAP} ${LIBCOMPAT}
LDADD= -ll -lm -lcurses -ltermcap -lcompat
GAMES= Game_List Killer crossover default easy game_2
CLEANFILES=grammar.c y.tab.h lex.c
HIDEGAME=hidegame
beforeinstall:
(cd ${.CURDIR}/games; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 440 \
${GAMES} ${DESTDIR}${SHAREDIR}/games/atc)
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 664 ${.CURDIR}/games/ATC_scores \
${DESTDIR}/var/games/atc_score
.include <bsd.prog.mk>