2011-08-16 14:14:40 +04:00
|
|
|
# $NetBSD: Makefile,v 1.30 2011/08/16 10:14:40 christos Exp $
|
1995-03-21 18:03:38 +03:00
|
|
|
# @(#)Makefile 8.1 (Berkeley) 5/31/93
|
1993-03-21 12:45:37 +03:00
|
|
|
|
1999-02-13 05:54:17 +03:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
1993-03-21 12:45:37 +03:00
|
|
|
PROG= atc
|
2009-10-29 17:27:26 +03:00
|
|
|
CPPFLAGS+=-DBSD -I${.CURDIR} -I.
|
1998-04-09 04:32:31 +04:00
|
|
|
SRCS= extern.c grammar.y graphics.c input.c lex.l list.c log.c \
|
1993-03-21 12:45:37 +03:00
|
|
|
main.c tunable.c update.c
|
1998-04-09 04:32:31 +04:00
|
|
|
YHEADER=1
|
1994-12-25 15:38:41 +03:00
|
|
|
MAN= atc.6
|
2010-02-07 02:45:24 +03:00
|
|
|
LDADD= -ll -lm -lcurses -lterminfo
|
|
|
|
DPADD= ${LIBL} ${LIBM} ${LIBCURSES} ${LIBTERMINFO}
|
1998-09-13 19:22:57 +04:00
|
|
|
GAMES= Game_List Killer crossover default easy game_2 \
|
1994-12-23 10:01:39 +03:00
|
|
|
Atlantis OHare Tic-Tac-Toe airports box crosshatch game_3 \
|
|
|
|
game_4 novice two-corners
|
1993-03-21 12:45:37 +03:00
|
|
|
HIDEGAME=hidegame
|
1997-11-20 03:12:30 +03:00
|
|
|
SETGIDGAME=yes
|
1999-02-13 05:54:17 +03:00
|
|
|
.if ${MKSHARE} != "no"
|
1997-03-25 01:15:37 +03:00
|
|
|
FILES=${GAMES:S@^@${.CURDIR}/games/@g}
|
|
|
|
FILESDIR=/usr/share/games/atc
|
1999-07-17 23:57:03 +04:00
|
|
|
FILESMODE=444
|
1998-09-29 11:33:20 +04:00
|
|
|
.endif
|
1993-03-21 12:45:37 +03:00
|
|
|
|
2011-08-16 14:14:40 +04:00
|
|
|
COPTS.input.c += -Wno-format-nonliteral
|
|
|
|
|
1993-03-21 12:45:37 +03:00
|
|
|
.include <bsd.prog.mk>
|