HardenedBSD/games/battlestar/Makefile
Bill Fumerola 0e5a7be513 1. Don't overwrite scorefiles if they already exist.
PR:		bin/13068
Submitted by:	Dominic Mitchell <Dom.Mitchell@palmerharvey.co.uk>

2. Sprinkle $FreeBSD$ around.
1999-12-10 21:13:42 +00:00

21 lines
599 B
Makefile

# @(#)Makefile 8.1 (Berkeley) 5/31/93
# $FreeBSD$
PROG= battlestar
SRCS= battlestar.c com1.c com2.c com3.c com4.c com5.c com6.c com7.c \
init.c cypher.c getcom.c parse.c room.c save.c fly.c misc.c \
globals.c dayfile.c nightfile.c dayobjs.c nightobjs.c words.c
MAN6= battlestar.6
DPADD= ${LIBCURSES} ${LIBTERMCAP} ${LIBCOMPAT}
LDADD= -lcurses -ltermcap -lcompat
HIDEGAME=hidegame
#CFLAGS+= -Wall -W
beforeinstall:
.if !exists(${DESTDIR}/var/games/battlestar.log)
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
${DESTDIR}/var/games/battlestar.log
.endif
.include <bsd.prog.mk>