Initial import from FreeBSD RELENG_4:
[dragonfly.git] / games / adventure / Makefile
1 #       @(#)Makefile    8.1 (Berkeley) 6/12/93
2 # $FreeBSD: src/games/adventure/Makefile,v 1.7.6.1 2001/04/25 09:28:42 ru Exp $
3
4 PROG=   adventure
5 SRCS=   main.c init.c done.c save.c subr.c vocab.c wizard.c io.c data.c crc.c
6 MAN=    adventure.6
7 CFLAGS+=-traditional-cpp
8 HIDEGAME=hidegame
9 CLEANFILES=data.c setup setup.o
10
11 build-tools: setup
12
13 data.c: glorkz setup
14         ./setup ${.CURDIR}/glorkz > data.c
15
16 setup: setup.o
17         ${CC} -static ${CFLAGS} ${LDFLAGS} -o ${.TARGET} ${.ALLSRC}
18
19 .include <bsd.prog.mk>