Mercurial > hg > Members > kono > nitros9-code
changeset 3000:9cae8c7cf7fd
level3 makefiles: Fill in top level makefile (copied from level2)
author | Gene Heskett <gheskett@wdtv.com> |
---|---|
date | Sun, 26 Oct 2014 08:44:53 +0100 |
parents | dd32b6035fd4 |
children | 8e1891c6cc4a |
files | level3/makefile |
diffstat | 1 files changed, 29 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/level3/makefile Sun Oct 26 12:39:10 2014 +0100 +++ b/level3/makefile Sun Oct 26 08:44:53 2014 +0100 @@ -1,7 +1,35 @@ +include $(NITROS9DIR)/rules.mak +LEVEL = 3 +dirs = coco3 coco3_6309 +ifdef PORTS +dirs = $(PORTS) +endif +# Make all components all: -info: + @$(ECHO) "**************************************************" + @$(ECHO) "* *" + @$(ECHO) "* NitrOS-9 Level $(LEVEL) Ports *" + @$(ECHO) "* *" + @$(ECHO) "**************************************************" + $(foreach dir,$(dirs),$(MAKE) -C $(dir) &&) : + +# Clean all components clean: + $(foreach dir, $(dirs), ($(CD) $(dir); make clean);) + +# Make DSK images dsk: + $(foreach dir,$(dirs),$(MAKE) -C $(dir) dsk &&) : + +# Copy DSK images dskcopy: + $(foreach dir,$(dirs),$(MAKE) -C $(dir) dskcopy &&) : + +# Clean DSK images dskclean: + $(foreach dir, $(dirs), ($(CD) $(dir); make dskclean);) + +# Info +info: + @$(foreach dir, $(dirs), $(MAKE) -C $(dir) info; $(ECHO);)