diff 3rdparty/packages/makefile @ 1119:f86ef3d1d7c9

Makefiles have been redone to take advantage of size and Make features
author boisy
date Sat, 12 Apr 2003 17:19:55 +0000
parents 264588ae1cd4
children 6a058c03adb1
line wrap: on
line diff
--- a/3rdparty/packages/makefile	Sat Apr 12 15:31:18 2003 +0000
+++ b/3rdparty/packages/makefile	Sat Apr 12 17:19:55 2003 +0000
@@ -1,34 +1,16 @@
 include ../../Makefile.rules
 
-DEPENDS		= ./Makefile
+dirs	= basic09 cc fsim2 koronis kq3 kyumgai lsl mm multivue rof subsim
 
+# Make all components
 all:
 	@$(ECHO) "*********************************************"
 	@$(ECHO) "*                                           *"
-	@$(ECHO) "*           3rd Software Packages           *"
+	@$(ECHO) "*            3rd Party Packages             *"
 	@$(ECHO) "*                                           *"
 	@$(ECHO) "*********************************************"
-	$(CD) basic09; make
-	$(CD) cc; make
-	$(CD) fsim2; make
-	$(CD) koronis; make
-	$(CD) kq3; make
-	$(CD) kyumgai; make
-	$(CD) lsl; make
-	$(CD) mm; make
-	$(CD) multivue; make
-	$(CD) rof; make
-	$(CD) subsim; make
+	$(foreach dir, $(dirs), $(CD) $(dir); make; $(CD) ..;)
 
+# Clean all components
 clean:
-	-$(CD) basic09; make clean
-	-$(CD) cc; make clean
-	-$(CD) fsim2; make clean
-	-$(CD) koronis; make clean
-	-$(CD) kq3; make clean
-	-$(CD) kyumgai; make clean
-	-$(CD) lsl; make clean
-	-$(CD) mm; make clean
-	-$(CD) multivue; make clean
-	-$(CD) rof; make clean
-	-$(CD) subsim; make clean
+	$(foreach dir, $(dirs), $(CD) $(dir); make clean; $(CD) ..;)