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
|
|
|
|
SRCS= curses.c hit.c init.c inventory.c level.c machdep.c main.c \
|
|
|
|
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
|
1994-09-11 21:32:28 +00:00
|
|
|
DPADD= ${LIBCURSES} ${LIBTERMCAP} ${LIBCOMPAT}
|
2000-07-03 07:49:32 +00:00
|
|
|
LDADD= -lcurses -ltermcap
|
1994-09-04 04:03:31 +00:00
|
|
|
HIDEGAME=hidegame
|
|
|
|
MAN6= rogue.6
|
|
|
|
|
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>
|