Cross Reference: Makefile
xref: /src/games/atc/Makefile
  • Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /src/games/atc/
Makefile revision 1.9
1#	$NetBSD: Makefile,v 1.9 1995/03/21 15:03:38 cgd Exp $
2#	@(#)Makefile	8.1 (Berkeley) 5/31/93
3
4PROG=	atc
5CFLAGS+=-DBSD -I${.CURDIR} -I.
6SRCS=	extern.c grammar.c graphics.c input.c lex.c list.c log.c \
7	main.c tunable.c update.c
8MAN=	atc.6
9LDADD=	-ll -lm -lcurses -ltermcap
10DPADD=	${LIBL} ${LIBM} ${LIBTERM} ${LIBCURSES}
11GAMES=	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
14CLEANFILES=grammar.c y.tab.h lex.c
15HIDEGAME=hidegame
16
17beforeinstall: 
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 ; \
23        else \
24                true ; \
25        fi
26	(cd ${.CURDIR}/games; install -c -o ${BINOWN} -g ${BINGRP} -m 400 \
27	    ${GAMES} ${DESTDIR}/usr/share/games/atc)
28
29.include <bsd.prog.mk>
30

Indexes created Wed Dec 10 23:09:30 GMT 2025