1 # $NetBSD: Makefile,v 1.9 1995/03/21 15:03:38 cgd Exp $
2 # @(#)Makefile 8.1 (Berkeley) 5/31/93
5 CFLAGS+=-DBSD -I${.CURDIR} -I.
6 SRCS= extern.c grammar.c graphics.c input.c lex.c list.c log.c \
7 main.c tunable.c update.c
9 LDADD= -ll -lm -lcurses -ltermcap
10 DPADD= ${LIBL} ${LIBM} ${LIBTERM} ${LIBCURSES}
11 GAMES= ATC_scores Game_List Killer crossover default easy game_2 \
12 Atlantis OHare Tic-Tac-Toe airports box crosshatch game_3 \
13 game_4 novice two-corners
14 CLEANFILES=grammar.c y.tab.h lex.c
18 @if [ ! -d ${DESTDIR}/usr/share/games/atc ]; then \
19 /bin/rm -f ${DESTDIR}/usr/share/games/atc ; \
20 mkdir -p ${DESTDIR}/usr/share/games/atc ; \
21 chown root.wheel ${DESTDIR}/usr/share/games/atc ; \
22 chmod 755 ${DESTDIR}/usr/share/games/atc ; \
26 (cd ${.CURDIR}/games; install -c -o ${BINOWN} -g ${BINGRP} -m 400 \
27 ${GAMES} ${DESTDIR}/usr/share/games/atc)
29 .include <bsd.prog.mk>