<sys/posix4.h>: Clean up a bit.
[dragonfly.git] / games / rogue / Makefile
blobd0ae40dc40dd5fa8a1dd19180a95d82b98ac994e
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 $
4 PROG= rogue
5 MAN= rogue.6
6 SRCS= hit.c init.c inventory.c level.c machdep.c main.c \
7 message.c monster.c move.c object.c pack.c play.c random.c ring.c \
8 room.c save.c score.c spec_hit.c throw.c trap.c use.c zap.c
9 DPADD= ${LIBNCURSES}
10 LDADD= -lprivate_ncurses
12 CFLAGS+= -DUNIX
13 CFLAGS+= -I${_SHLIBDIRPREFIX}/usr/include/priv/ncurses
14 LDFLAGS+= ${PRIVATELIB_LDFLAGS}
15 HIDEGAME= hidegame
17 beforeinstall:
18 .if !exists(${DESTDIR}/var/games/rogue.scores)
19 ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
20 ${DESTDIR}/var/games/rogue.scores
21 .endif
23 .include <bsd.prog.mk>