1994-09-04 04:03:31 +00:00
|
|
|
# @(#)Makefile 8.1 (Berkeley) 5/31/93
|
1999-12-10 21:13:42 +00:00
|
|
|
# $FreeBSD$
|
1994-09-04 04:03:31 +00:00
|
|
|
|
|
|
|
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}
|
1994-09-11 21:32:28 +00:00
|
|
|
LDADD= -lcurses -ltermcap -lcompat
|
1994-09-04 04:03:31 +00:00
|
|
|
HIDEGAME=hidegame
|
1997-02-20 03:04:54 +00:00
|
|
|
#CFLAGS+= -Wall -W
|
1994-09-04 04:03:31 +00:00
|
|
|
|
1997-09-24 03:43:30 +00:00
|
|
|
beforeinstall:
|
1999-12-10 21:13:42 +00:00
|
|
|
.if !exists(${DESTDIR}/var/games/battlestar.log)
|
1997-09-24 03:43:30 +00:00
|
|
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
|
|
|
|
${DESTDIR}/var/games/battlestar.log
|
1999-12-10 21:13:42 +00:00
|
|
|
.endif
|
1997-09-24 03:43:30 +00:00
|
|
|
|
1994-09-04 04:03:31 +00:00
|
|
|
.include <bsd.prog.mk>
|