17 lines
396 B
Makefile
17 lines
396 B
Makefile
# @(#)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+=setup data.c
|
|
|
|
data.c: glorkz setup
|
|
./setup ${.CURDIR}/glorkz > data.c
|
|
|
|
setup: setup.c hdr.h ${LIBCRT0} ${LIBC}
|
|
${CC} ${CFLAGS} ${LDFLAGS} -o setup ${.CURDIR}/setup.c
|
|
|
|
.include <bsd.prog.mk>
|