From 08eca96e71d96ad1f8e9b888875ab5570f208d19 Mon Sep 17 00:00:00 2001 From: Cameron Katri Date: Wed, 17 Feb 2021 14:05:02 -0500 Subject: Get all the games compiling for iOS --- backgammon/Makefile | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) (limited to 'backgammon/Makefile') 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 +$(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 -- cgit v1.2.3-56-ge451