Mercurial > hg > Members > kono > nitros9-code
diff 3rdparty/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 | a8f68130350d |
children | 4bddc63a59fc |
line wrap: on
line diff
--- a/3rdparty/makefile Sat Apr 12 15:31:18 2003 +0000 +++ b/3rdparty/makefile Sat Apr 12 17:19:55 2003 +0000 @@ -1,26 +1,28 @@ include ../Makefile.rules +dirs = booters drivers fmgrs p2mods subrtns utils packages + # Make all components all: @$(ECHO) "*********************************************" @$(ECHO) "* *" - @$(ECHO) "* 3rd Party Software *" + @$(ECHO) "* 3rd Party Software *" @$(ECHO) "* *" @$(ECHO) "*********************************************" - $(CD) booters; make - $(CD) drivers; make - $(CD) fmgrs; make - $(CD) p2mods; make - $(CD) subrtns; make - $(CD) utils; make - $(CD) packages; make + $(foreach dir, $(dirs), $(CD) $(dir); make; $(CD) ..;) # Clean all components -clean: - -$(CD) booters; make clean - -$(CD) drivers; make clean - -$(CD) fmgrs; make clean - -$(CD) p2mods; make clean - -$(CD) subrtns; make clean - -$(CD) utils; make clean - -$(CD) packages; make clean +clean: dskclean + $(foreach dir, $(dirs), $(CD) $(dir); make clean; $(CD) ..;) + +# Make DSK images +dsk: + $(foreach dir, $(dirs), $(CD) $(dir); make dsk; $(CD) ..;) + +# Clean DSK images +dskclean: + $(foreach dir, $(dirs), $(CD) $(dir); make dskclean; $(CD) ..;) + +# Copy DSK images +dskcopy: dsk + $(foreach dir, $(dirs), $(CD) $(dir); make dskcopy; $(CD) ..;)