aboutsummaryrefslogblamecommitdiff
path: root/games/rogue/Makefile
blob: 95734e9f33f50e3c08c35d5d42661cbae65fbb2a (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                              
           


                                 
                                                           

                                                                           

                    
                 
               
 
              
                                              

                                                                  
      
 
                      
#	@(#)Makefile	8.1 (Berkeley) 5/31/93
# $FreeBSD$

PROG=	rogue
CFLAGS+=-DUNIX -fwritable-strings
SRCS=	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
DPADD=	${LIBCURSES}
LDADD=	-lcurses
HIDEGAME=hidegame
MAN=	rogue.6

beforeinstall:
.if !exists(${DESTDIR}/var/games/rogue.scores)
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
	    ${DESTDIR}/var/games/rogue.scores
.endif

.include <bsd.prog.mk>