1994-09-04 06:03:31 +02:00
|
|
|
# @(#)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
|
1994-09-11 23:32:28 +02:00
|
|
|
DPADD= ${usr/lib/libl.a ${LIBM} ${LIBTERMCAP} ${LIBCURSES} ${LIBCOMPAT}
|
1994-09-04 06:03:31 +02:00
|
|
|
LDADD= -ll -lm -lcurses -ltermcap -lcompat
|
|
|
|
GAMES= ATC_scores 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 400 \
|
|
|
|
${GAMES} ${DESTDIR}/usr/share/games/atc)
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|