1# $NetBSD: Makefile,v 1.24 2005/08/10 17:52:56 rpaulo Exp $ 2# @(#)Makefile 8.1 (Berkeley) 5/31/93 3 4.include <bsd.own.mk> 5 6WARNS= 3 7PROG= atc 8CPPFLAGS+=-DBSD -I${.CURDIR} -I. -DYY_NO_UNPUT 9SRCS= extern.c grammar.y graphics.c input.c lex.l list.c log.c \ 10 main.c tunable.c update.c 11YHEADER=1 12MAN= atc.6 13LDADD= -ll -lm -lcurses 14DPADD= ${LIBL} ${LIBM} ${LIBCURSES} 15GAMES= 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 18HIDEGAME=hidegame 19SETGIDGAME=yes 20.if ${MKSHARE} != "no" 21FILES=${GAMES:S@^@${.CURDIR}/games/@g} 22FILESDIR=/usr/share/games/atc 23FILESMODE=444 24.endif 25 26.include <bsd.prog.mk> 27