summaryrefslogtreecommitdiffstats
path: root/backgammon/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 /backgammon/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 'backgammon/Makefile')
-rw-r--r--backgammon/Makefile18
1 files changed, 16 insertions, 2 deletions
diff --git a/backgammon/Makefile b/backgammon/Makefile
index adf28243..50ed4ca4 100644
--- a/backgammon/Makefile
+++ b/backgammon/Makefile
@@ -1,6 +1,20 @@
# $NetBSD: Makefile,v 1.6 2001/01/09 03:13:39 lukem Exp $
# @(#)Makefile 8.1 (Berkeley) 5/31/93
-SUBDIR= common_source .WAIT backgammon teachgammon
+SUBDIR= backgammon teachgammon
+TOPTARGETS= all install
-.include <bsd.subdir.mk>
+$(TOPTARGETS): $(SUBDIR)
+
+clean:
+ $(MAKE) -C backgammon clean
+ $(MAKE) -C teachgammon clean
+ $(MAKE) -C common_source clean
+
+common_source:
+ $(MAKE) -C $@ $(MAKECMDGOALS)
+
+$(SUBDIR): common_source
+ $(MAKE) -C $@ $(MAKECMDGOALS)
+
+.PHONY: $(TOPTARGETS) $(SUBDIR) clean