summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorCameron Katri <me@cameronkatri.com>2021-02-17 14:05:02 -0500
committerCameron Katri <me@cameronkatri.com>2021-02-22 09:20:17 -0500
commit08eca96e71d96ad1f8e9b888875ab5570f208d19 (patch)
tree9cace520fa50d9ef5bb77c2d7ebdde40e6b40f7f /Makefile
parent3f650c87c6ee6692ad6a558bb03ccf3364fe794a (diff)
downloadbsdgames-darwin-08eca96e71d96ad1f8e9b888875ab5570f208d19.tar.gz
bsdgames-darwin-08eca96e71d96ad1f8e9b888875ab5570f208d19.tar.zst
bsdgames-darwin-08eca96e71d96ad1f8e9b888875ab5570f208d19.zip
Get all the games compiling for iOS
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 7 insertions, 11 deletions
diff --git a/Makefile b/Makefile
index 450df04f..668faf48 100644
--- a/Makefile
+++ b/Makefile
@@ -1,23 +1,19 @@
# $NetBSD: Makefile,v 1.31 2021/01/02 03:21:39 nat Exp $
# @(#)Makefile 8.3 (Berkeley) 7/24/94
-# Missing: dungeon
-# Moved: chess
-# Don't belong: xneko xroach
-
-.include <bsd.own.mk>
-
SUBDIR= adventure arithmetic atc \
backgammon banner battlestar bcd boggle \
caesar canfield cgram ching colorbars countmail cribbage \
- dm factor fish fortune gomoku \
+ dm factor fish gomoku \
hack hals_end hangman hunt larn mille monop morse number \
phantasia pig pom ppt primes quiz \
rain random robots rogue sail snake testpat tetris trek \
wargames warp worm worms wtf wump
+TOPTARGETS= all clean install
+
+$(TOPTARGETS): $(SUBDIR)
-.if ${MKCXX} != "no"
-SUBDIR+= dab
-.endif
+$(SUBDIR):
+ $(MAKE) -C $@ $(MAKECMDGOALS)
-.include <bsd.subdir.mk>
+.PHONY: $(TOPTARGETS) $(SUBDIR)