Initial import from FreeBSD RELENG_4:
[games.git] / games / battlestar / Makefile
1 #       @(#)Makefile    8.1 (Berkeley) 5/31/93
2 # $FreeBSD: src/games/battlestar/Makefile,v 1.5.2.3 2002/08/07 16:31:41 ru Exp $
3
4 PROG=   battlestar
5 SRCS=   battlestar.c com1.c com2.c com3.c com4.c com5.c com6.c com7.c \
6         init.c cypher.c getcom.c parse.c room.c save.c fly.c misc.c \
7         globals.c dayfile.c nightfile.c dayobjs.c nightobjs.c words.c
8 MAN=    battlestar.6
9 DPADD=  ${LIBCURSES} ${LIBTERMCAP} ${LIBCOMPAT}
10 LDADD=  -lcurses -ltermcap -lcompat
11 HIDEGAME=hidegame
12 #CFLAGS+= -Wall -W
13
14 beforeinstall:
15 .if !exists(${DESTDIR}/var/games/battlestar.log)
16         ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
17             ${DESTDIR}/var/games/battlestar.log
18 .endif
19
20 .include <bsd.prog.mk>