130ab7336b
* Don't bother prefixing commands with a line of ${_MKCMD}\ and instead rely upon "make -s". This is less intrusive on all the Makefiles than the former. Idea from David Laight. * Rename the variables use to print messages. The scheme now is: _MKMSG_FOO Run _MKMSG 'foo' _MKTARGET_FOO Run _MKMSG_FOO ${.TARGET} From discussion with Alistair Crooks.
19 lines
438 B
Makefile
19 lines
438 B
Makefile
# $NetBSD: Makefile,v 1.12 2003/10/21 10:01:19 lukem 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
|
|
HIDEGAME=hidegame
|
|
CLEANFILES+=setup data.c
|
|
|
|
data.c: glorkz setup
|
|
${_MKTARGET_CREATE}
|
|
./setup ${.CURDIR}/glorkz > data.c
|
|
|
|
setup: setup.c hdr.h
|
|
${_MKTARGET_LINK}
|
|
${HOST_LINK.c} -o setup ${.CURDIR}/setup.c
|
|
|
|
.include <bsd.prog.mk>
|