Merge from vendor branch NCURSES:
[dragonfly.git] / games / rogue / Makefile
1 #       @(#)Makefile    8.1 (Berkeley) 5/31/93
2 # $FreeBSD: src/games/rogue/Makefile,v 1.4.2.5 2002/08/07 16:31:42 ru Exp $
3 # $DragonFly: src/games/rogue/Makefile,v 1.2 2003/06/17 04:25:24 dillon Exp $
4
5 PROG=   rogue
6 CFLAGS+=-DUNIX -fwritable-strings
7 SRCS=   hit.c init.c inventory.c level.c machdep.c main.c \
8         message.c monster.c move.c object.c pack.c play.c random.c ring.c \
9         room.c save.c score.c spec_hit.c throw.c trap.c use.c zap.c
10 DPADD=  ${LIBCURSES} ${LIBTERMCAP}
11 LDADD=  -lcurses -ltermcap
12 HIDEGAME=hidegame
13 MAN=    rogue.6
14
15 beforeinstall:
16 .if !exists(${DESTDIR}/var/games/rogue.scores)
17         ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
18             ${DESTDIR}/var/games/rogue.scores
19 .endif
20
21 .include <bsd.prog.mk>