1994-09-04 04:03:31 +00:00
|
|
|
# @(#)Makefile 8.1 (Berkeley) 5/31/93
|
|
|
|
|
|
|
|
PROG= atc
|
|
|
|
CFLAGS+=-DBSD -I${.CURDIR} -I.
|
1998-05-04 20:09:06 +00:00
|
|
|
SRCS= extern.c grammar.y graphics.c input.c lex.l list.c log.c \
|
1998-05-05 13:16:35 +00:00
|
|
|
main.c tunable.c update.c y.tab.h
|
1994-09-04 04:03:31 +00:00
|
|
|
MAN6= atc.6
|
1996-09-05 17:16:10 +00:00
|
|
|
DPADD= ${LIBL} ${LIBM} ${LIBCURSES} ${LIBTERMCAP} ${LIBCOMPAT}
|
1994-09-04 04:03:31 +00:00
|
|
|
LDADD= -ll -lm -lcurses -ltermcap -lcompat
|
1997-09-24 03:28:24 +00:00
|
|
|
GAMES= Game_List Killer crossover default easy game_2
|
1994-09-04 04:03:31 +00:00
|
|
|
HIDEGAME=hidegame
|
|
|
|
|
1995-05-30 03:37:36 +00:00
|
|
|
beforeinstall:
|
1997-09-24 03:28:24 +00:00
|
|
|
(cd ${.CURDIR}/games; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 440 \
|
1997-02-09 02:52:41 +00:00
|
|
|
${GAMES} ${DESTDIR}${SHAREDIR}/games/atc)
|
1997-09-24 03:28:24 +00:00
|
|
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 664 ${.CURDIR}/games/ATC_scores \
|
|
|
|
${DESTDIR}/var/games/atc_score
|
1994-09-04 04:03:31 +00:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|