]> git.cameronkatri.com Git - bsdgames-darwin.git/blobdiff - adventure/Makefile
Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the
[bsdgames-darwin.git] / adventure / Makefile
index 5f14446618c06b7ede10e705a2386a486cf5fe55..6530c3ce36b474fc3992709b0b75b5f1d7df5453 100644 (file)
@@ -1,20 +1,19 @@
-#      $NetBSD: Makefile,v 1.10 2003/10/19 01:01:44 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
-       ${_MKMSG} " create  ${.TARGET}"
-       ${_MKCMD}\
+       ${_MKTARGET_CREATE}
        ./setup ${.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
+setup: setup.lo
+       ${_MKTARGET_LINK}
+       ${HOST_LINK.c} -o ${.TARGET} ${.ALLSRC}
 
 .include <bsd.prog.mk>