1 # $NetBSD: Makefile,v 1.24 2005/08/10 17:52:56 rpaulo Exp $
2 # @(#)Makefile 8.1 (Berkeley) 5/31/93
8 CPPFLAGS+=-DBSD -I${.CURDIR} -I. -DYY_NO_UNPUT
9 SRCS= extern.c grammar.y graphics.c input.c lex.l list.c log.c \
10 main.c tunable.c update.c
13 LDADD= -ll -lm -lcurses
14 DPADD= ${LIBL} ${LIBM} ${LIBCURSES}
15 GAMES= Game_List Killer crossover default easy game_2 \
16 Atlantis OHare Tic-Tac-Toe airports box crosshatch game_3 \
17 game_4 novice two-corners
20 .if ${MKSHARE} != "no"
21 FILES=${GAMES:S@^@${.CURDIR}/games/@g}
22 FILESDIR=/usr/share/games/atc
26 .include <bsd.prog.mk>