Merge branch 'master' of github.com:thepowersgang/acess2
[tpg/acess2.git] / Usermode / Applications / axwin2_src / Makefile
index e47c829..89f1584 100644 (file)
@@ -1,4 +1,13 @@
 
-%:
-       $(MAKE) -C WM/ $@
-       $(MAKE) -C Shell_src/ $@
+NAME = AxWin2
+DIRS = WM Shell_src
+
+SUBMAKE = $(MAKE) --no-print-directory
+
+all:
+       @$(foreach DIR,$(DIRS), echo --- $(NAME)/$(DIR) && $(SUBMAKE) -C $(DIR) $@ &&) true
+install:
+       @$(foreach DIR,$(DIRS), echo --- $(NAME)/$(DIR) && $(SUBMAKE) -C $(DIR) $@ &&) true
+
+clean:
+       @$(foreach DIR,$(DIRS), $(SUBMAKE) -C $(DIR) $@ &&) true

UCC git Repository :: git.ucc.asn.au