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

PROG=	adventure
SRCS=	main.c init.c done.c save.c subr.c vocab.c wizard.c io.c data.c crc.c
MAN=	adventure.6
HIDEGAME=hidegame
CLEANFILES=data.c setup setup.o

WARNS?=	2

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