diff options
author | lukem <lukem@NetBSD.org> | 2003-11-16 14:14:18 +0000 |
---|---|---|
committer | lukem <lukem@NetBSD.org> | 2003-11-16 14:14:18 +0000 |
commit | 54c7964842a3a322ca3e7867485513837f58b811 (patch) | |
tree | 647b9bbd42f0b7af5a7252951053db199df23b20 /adventure | |
parent | 256f707bed350efdfd37b8c4b91efffa7afbbf55 (diff) | |
download | bsdgames-darwin-54c7964842a3a322ca3e7867485513837f58b811.tar.gz bsdgames-darwin-54c7964842a3a322ca3e7867485513837f58b811.tar.zst bsdgames-darwin-54c7964842a3a322ca3e7867485513837f58b811.zip |
Improve how various "simple" host tools are built and invoked.
Diffstat (limited to 'adventure')
-rw-r--r-- | adventure/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/adventure/Makefile b/adventure/Makefile index b48a6249..6530c3ce 100644 --- a/adventure/Makefile +++ b/adventure/Makefile @@ -1,18 +1,19 @@ -# $NetBSD: Makefile,v 1.12 2003/10/21 10:01:19 lukem Exp $ +# $NetBSD: Makefile,v 1.13 2003/11/16 14:14:18 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 +CLEANFILES+=setup setup.lo data.c data.c: glorkz setup ${_MKTARGET_CREATE} ./setup ${.CURDIR}/glorkz > data.c -setup: setup.c hdr.h +setup.lo: hdr.h +setup: setup.lo ${_MKTARGET_LINK} - ${HOST_LINK.c} -o setup ${.CURDIR}/setup.c + ${HOST_LINK.c} -o ${.TARGET} ${.ALLSRC} .include <bsd.prog.mk> |