]> git.cameronkatri.com Git - bsdgames-darwin.git/blob - atc/Makefile
y.tab.h is now called grammar.h (and there's an implied .y.h rule now too)
[bsdgames-darwin.git] / atc / Makefile
1 # $NetBSD: Makefile,v 1.18 1998/05/13 19:21:37 tv 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.y graphics.c input.c lex.l list.c log.c \
7 main.c tunable.c update.c
8 YHEADER=1
9 MAN= atc.6
10 LDADD= -ll -lm -lcurses
11 DPADD= ${LIBL} ${LIBM} ${LIBCURSES}
12 GAMES= ATC_scores Game_List Killer crossover default easy game_2 \
13 Atlantis OHare Tic-Tac-Toe airports box crosshatch game_3 \
14 game_4 novice two-corners
15 HIDEGAME=hidegame
16 SETGIDGAME=yes
17 FILES=${GAMES:S@^@${.CURDIR}/games/@g}
18 FILESDIR=/usr/share/games/atc
19 FILESMODE=440
20
21 lex.o: grammar.h
22
23 .include <bsd.prog.mk>