summaryrefslogtreecommitdiffstats
path: root/games/adventure/Makefile
blob: 52c3649b363e97e6e0c5a23dda6fdcf961c21b68 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#	@(#)Makefile	8.1 (Berkeley) 6/12/93

PROG=	adventure
SRCS=	main.c init.c done.c save.c subr.c vocab.c wizard.c io.c data.c crc.c
MAN6=	adventure.6
CFLAGS+=-traditional-cpp
HIDEGAME=hidegame
CLEANFILES=data.c setup setup.o

build-tools: setup

data.c: glorkz setup
	./setup ${.CURDIR}/glorkz > data.c

setup: setup.o
	${CC} -static ${CFLAGS} ${LDFLAGS} -o ${.TARGET} ${.ALLSRC}

.include <bsd.prog.mk>
OpenPOWER on IntegriCloud