]> git.cameronkatri.com Git - bsdgames-darwin.git/blob - atc/Makefile
use CPPFLAGS instead of CFLAGS, fix dependancies for parallel compile
[bsdgames-darwin.git] / atc / Makefile
1 # $NetBSD: Makefile,v 1.13 1997/10/22 02:01:17 lukem Exp $
2 # @(#)Makefile 8.1 (Berkeley) 5/31/93
3
4 PROG= atc
5 CPPFLAGS+=-DBSD -I${.CURDIR} -I. -DYY_NO_UNPUT
6 SRCS= extern.c grammar.c graphics.c input.c lex.c list.c log.c \
7 main.c tunable.c update.c
8 MAN= atc.6
9 LDADD= -ll -lm -lcurses -ltermcap
10 DPADD= ${LIBL} ${LIBM} ${LIBTERM} ${LIBCURSES}
11 GAMES= ATC_scores Game_List Killer crossover default easy game_2 \
12 Atlantis OHare Tic-Tac-Toe airports box crosshatch game_3 \
13 game_4 novice two-corners
14 CLEANFILES=grammar.c y.tab.h lex.c
15 HIDEGAME=hidegame
16 FILES=${GAMES:S@^@${.CURDIR}/games/@g}
17 FILESDIR=/usr/share/games/atc
18 FILESMODE=400
19
20 y.tab.h: grammar.c
21
22 lex.o: y.tab.h
23
24 .include <bsd.prog.mk>