Merge branch 'vendor/LDNS'
[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.5 2006/10/08 16:22:36 pavalos Exp $
4
5 PROG=   rogue
6 CFLAGS+=-DUNIX
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}
11 LDADD=  -lcurses
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>