-WARNS6 cleanups (3953 warnings)
[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.4 2006/09/02 19:31:07 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} ${LIBTERMCAP}
11 LDADD=  -lcurses
12 HIDEGAME=hidegame
13 MAN=    rogue.6
14 WARNS?= 6
15
16 beforeinstall:
17 .if !exists(${DESTDIR}/var/games/rogue.scores)
18         ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
19             ${DESTDIR}/var/games/rogue.scores
20 .endif
21
22 .include <bsd.prog.mk>