]> git.cameronkatri.com Git - bsdgames-darwin.git/blobdiff - hunt/Makefile
Get all the games compiling for iOS
[bsdgames-darwin.git] / hunt / Makefile
index 28a76a32599f365f0191d07686916910176d9c58..e7ac83df5cc203b16a10df15a13a8a21d6b23d2f 100644 (file)
@@ -1,5 +1,13 @@
 #      $NetBSD: Makefile,v 1.1 1997/10/04 09:11:14 mrg Exp $
 
 SUBDIR=        hunt huntd
+TOPTARGETS= all clean install
+GAME_PARAM=    -DRANDOM -DREFLECT -DMONITOR -DOOZE -DFLY -DVOLCANO -DBOOTS \
+               -DOTTO
 
-.include <bsd.subdir.mk>
+$(TOPTARGETS): $(SUBDIR)
+
+$(SUBDIR): 
+       +EXTRADEFS="$(GAME_PARAM) -DINTERNET -DLOG" $(MAKE) -C $@ $(MAKECMDGOALS)
+
+.PHONY: $(TOPTARGETS) $(SUBDIR)