summaryrefslogtreecommitdiff
path: root/games/adventure/Makefile
blob: db789789b10ee0a84ba90d3912c1d8633f89247e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#	$OpenBSD: Makefile,v 1.2 1996/03/09 01:33:25 niklas Exp $
#	$NetBSD: Makefile,v 1.3 1995/03/21 12:04:53 cgd Exp $
#	@(#)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
MAN=	adventure.6
CFLAGS+=-traditional-cpp
HIDEGAME=hidegame
CLEANFILES+=setup data.c

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

setup: setup.c hdr.h
	${HOSTCC} -o setup ${.CURDIR}/setup.c

.include <bsd.prog.mk>