Merge from vendor branch LIBSTDC++:
[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 # $DragonFly: src/games/adventure/Makefile,v 1.2 2003/06/17 04:25:22 dillon Exp $
4
5 PROG=   adventure
6 SRCS=   main.c init.c done.c save.c subr.c vocab.c wizard.c io.c data.c crc.c
7 MAN=    adventure.6
8 CFLAGS+=-traditional-cpp
9 HIDEGAME=hidegame
10 CLEANFILES=data.c setup setup.o
11
12 build-tools: setup
13
14 data.c: glorkz setup
15         ./setup ${.CURDIR}/glorkz > data.c
16
17 setup: setup.o
18         ${CC} -static ${CFLAGS} ${LDFLAGS} -o ${.TARGET} ${.ALLSRC}
19
20 .include <bsd.prog.mk>