X-Git-Url: https://git.cameronkatri.com/bsdgames-darwin.git/blobdiff_plain/95e5fff2a7e41ff5df14257ae6e7a7693b43d360..a81e9c805d53f67a659190635bb58590b0ffa0c7:/adventure/Makefile?ds=inline diff --git a/adventure/Makefile b/adventure/Makefile index 5f144466..8f3467e0 100644 --- a/adventure/Makefile +++ b/adventure/Makefile @@ -1,20 +1,19 @@ -# $NetBSD: Makefile,v 1.10 2003/10/19 01:01:44 lukem Exp $ +# $NetBSD: Makefile,v 1.14 2013/02/16 16:30:28 jmcneill 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+=mkdata setup.lo data.c -data.c: glorkz setup - ${_MKMSG} " create ${.TARGET}" - ${_MKCMD}\ - ./setup ${.CURDIR}/glorkz > data.c +data.c: glorkz mkdata + ${_MKTARGET_CREATE} + ./mkdata ${.CURDIR}/glorkz > data.c -setup: setup.c hdr.h - ${_MKMSG} "compile ${.TARGET}" - ${_MKCMD}\ - ${HOST_LINK.c} -o setup ${.CURDIR}/setup.c +setup.lo: hdr.h +mkdata: setup.lo + ${_MKTARGET_LINK} + ${HOST_LINK.c} -o ${.TARGET} ${.ALLSRC} .include