-WARNS6 cleanup (1441 warnings)
[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.3 2006/08/08 16:47:20 pavalos 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}
11 LDADD=  -lcurses -ltermcap
12 HIDEGAME=hidegame
13 WARNS?= 6
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>