blob: 8b007e4e65edb1ac819c067f9d8c27e22c6ccc09 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# $OpenBSD: Makefile,v 1.5 1998/08/22 08:55:24 pjanzen Exp $
# @(#)Makefile 8.1 (Berkeley) 5/31/93
PROG= rogue
CFLAGS+=-DUNIX -fwritable-strings
SRCS= curses.c 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
.if make(install)
SUBDIR+= USD.doc
.endif
beforeinstall:
@if [ ! -f ${DESTDIR}/var/games/rogue.scores ]; then \
${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 664 \
/dev/null ${DESTDIR}/var/games/rogue.scores ; \
else \
true ; \
fi
.include <bsd.prog.mk>
|