Mercurial > hg > Members > kono > nitros9-code
view level1/makefile @ 2848:94197db917c9 lwtools-port
Makefiles: Call OS9ATTR with multiple files (part 1)
Instead of spawning a os9 process for each file, call
it once with the whole bunch of files.
This can speed up the build process significantly when applied
globally. For now, do the special cases having "notdir".
author | Tormod Volden <debian.tormod@gmail.com> |
---|---|
date | Fri, 12 Jul 2013 00:01:00 +0200 |
parents | 4ffb283f6233 |
children | bd286ab169c7 |
line wrap: on
line source
include $(NITROS9DIR)/rules.mak dirs = coco1 deluxe coco2 coco2b tano d64 dalpha atari # Make all components all: @$(ECHO) "**************************************************" @$(ECHO) "* *" @$(ECHO) "* NitrOS-9 Level 1 Ports *" @$(ECHO) "* *" @$(ECHO) "**************************************************" $(foreach dir, $(dirs), ($(CD) $(dir); make);) # Clean all components clean: $(foreach dir, $(dirs), ($(CD) $(dir); make clean);) # Make DSK images dsk: $(foreach dir, $(dirs), ($(CD) $(dir); make dsk);) # Copy DSK images dskcopy: $(foreach dir, $(dirs), ($(CD) $(dir); make dskcopy);) # Clean DSK images dskclean: $(foreach dir, $(dirs), ($(CD) $(dir); make dskclean);) # Info info: @$(foreach dir, $(dirs), ($(CD) $(dir); make info; $(ECHO));)