summaryrefslogtreecommitdiffstats
path: root/games/atc/Makefile
blob: e6433c4f73c8686335a0923f8748e61173b47915 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#	@(#)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=	${usr/lib/libl.a ${LIBM} ${LIBTERMCAP} ${LIBCURSES} ${LIBCOMPAT}
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>
OpenPOWER on IntegriCloud