Merge from vendor branch LIBARCHIVE:
[dragonfly.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 # $DragonFly: src/games/battlestar/Makefile,v 1.2 2003/06/17 04:25:22 dillon Exp $
4
5 PROG=   battlestar
6 SRCS=   battlestar.c com1.c com2.c com3.c com4.c com5.c com6.c com7.c \
7         init.c cypher.c getcom.c parse.c room.c save.c fly.c misc.c \
8         globals.c dayfile.c nightfile.c dayobjs.c nightobjs.c words.c
9 MAN=    battlestar.6
10 DPADD=  ${LIBCURSES} ${LIBTERMCAP} ${LIBCOMPAT}
11 LDADD=  -lcurses -ltermcap -lcompat
12 HIDEGAME=hidegame
13 #CFLAGS+= -Wall -W
14
15 beforeinstall:
16 .if !exists(${DESTDIR}/var/games/battlestar.log)
17         ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
18             ${DESTDIR}/var/games/battlestar.log
19 .endif
20
21 .include <bsd.prog.mk>