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= rogue
|
|
|
|
CFLAGS+=-DUNIX -fwritable-strings
|
2001-01-25 12:24:29 +00:00
|
|
|
SRCS= hit.c init.c inventory.c level.c machdep.c main.c \
|
1994-09-04 04:03:31 +00:00
|
|
|
message.c monster.c move.c object.c pack.c play.c random.c ring.c \
|
|
|
|
room.c save.c score.c spec_hit.c throw.c trap.c use.c zap.c
|
2000-09-16 03:52:06 +00:00
|
|
|
DPADD= ${LIBCURSES}
|
|
|
|
LDADD= -lcurses
|
1994-09-04 04:03:31 +00:00
|
|
|
HIDEGAME=hidegame
|
2001-03-26 14:22:12 +00:00
|
|
|
MAN= rogue.6
|
1994-09-04 04:03:31 +00:00
|
|
|
|
1997-09-24 00:17:13 +00:00
|
|
|
beforeinstall:
|
1999-12-10 21:13:42 +00:00
|
|
|
.if !exists(${DESTDIR}/var/games/rogue.scores)
|
1997-09-24 00:17:13 +00:00
|
|
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
|
|
|
|
${DESTDIR}/var/games/rogue.scores
|
1999-12-10 21:13:42 +00:00
|
|
|
.endif
|
1997-09-24 00:17:13 +00:00
|
|
|
|
1994-09-04 04:03:31 +00:00
|
|
|
.include <bsd.prog.mk>
|