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