diff 3rdparty/drivers/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 75e46d29c5d3
children 4bddc63a59fc
line wrap: on
line diff
--- a/3rdparty/drivers/makefile	Sat Apr 12 15:31:18 2003 +0000
+++ b/3rdparty/drivers/makefile	Sat Apr 12 17:19:55 2003 +0000
@@ -1,5 +1,7 @@
 include ../../Makefile.rules
 
+dirs	= burke disto emudsk flash flashpak ide s16550 sdisk sdisk3 tccc
+
 # Make all components
 all:
 	@$(ECHO) "*********************************************"
@@ -7,26 +9,8 @@
 	@$(ECHO) "*          3rd Party Device Drivers         *"
 	@$(ECHO) "*                                           *"
 	@$(ECHO) "*********************************************"
-	$(CD) burke; make
-	$(CD) disto; make
-	$(CD) emudsk; make
-	$(CD) flash; make
-	$(CD) flashpak; make
-	$(CD) ide; make
-	$(CD) s16550; make
-	$(CD) sdisk; make
-	$(CD) sdisk3; make
-	$(CD) tccc; make
+	$(foreach dir, $(dirs), $(CD) $(dir); make; $(CD) ..;)
 
 # Clean all components
 clean:
-	-$(CD) burke; make clean
-	-$(CD) disto; make clean
-	-$(CD) emudsk; make clean
-	-$(CD) flash; make clean
-	-$(CD) flashpak; make clean
-	-$(CD) ide; make clean
-	-$(CD) s16550; make clean
-	-$(CD) sdisk; make clean
-	-$(CD) sdisk3; make clean
-	-$(CD) tccc; make clean
+	$(foreach dir, $(dirs), $(CD) $(dir); make clean; $(CD) ..;)