1999-02-13 05:54:17 +03:00
|
|
|
# $NetBSD: Makefile,v 1.21 1999/02/13 02:54:20 lukem 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
|
1997-10-22 06:01:17 +04:00
|
|
|
CPPFLAGS+=-DBSD -I${.CURDIR} -I. -DYY_NO_UNPUT
|
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
|
1998-02-19 01:37:30 +03:00
|
|
|
LDADD= -ll -lm -lcurses
|
|
|
|
DPADD= ${LIBL} ${LIBM} ${LIBCURSES}
|
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
|
1997-11-29 22:31:51 +03:00
|
|
|
FILESMODE=440
|
1998-09-29 11:33:20 +04:00
|
|
|
.endif
|
1993-03-21 12:45:37 +03:00
|
|
|
|
1998-05-13 23:21:37 +04:00
|
|
|
lex.o: grammar.h
|
1997-10-22 06:01:17 +04:00
|
|
|
|
1993-03-21 12:45:37 +03:00
|
|
|
.include <bsd.prog.mk>
|