NetBSD/games/atc/Makefile

28 lines
721 B
Makefile
Raw Normal View History

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
.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.
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
YHEADER=1
1994-12-25 15:38:41 +03:00
MAN= atc.6
LDADD= -ll -lm -lcurses -lterminfo
DPADD= ${LIBL} ${LIBM} ${LIBCURSES} ${LIBTERMINFO}
GAMES= Game_List Killer crossover default easy game_2 \
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
.if ${MKSHARE} != "no"
1997-03-25 01:15:37 +03:00
FILES=${GAMES:S@^@${.CURDIR}/games/@g}
FILESDIR=/usr/share/games/atc
FILESMODE=444
.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>