view level2/makefile @ 2942:195b041299ec

d64/dalpha bootfiles: Do not copy the makefile into the bootfile Thanks to Christopher R. Hawks for spotting this.
author Tormod Volden <debian.tormod@gmail.com>
date Sun, 26 Jan 2014 21:04:07 +0100
parents 1c1600cc9f02
children ab3f9eb5fc5c
line wrap: on
line source

include $(NITROS9DIR)/rules.mak

dirs	= coco3 coco3_6309
ifdef PORTS
dirs	= $(PORTS)
endif

# Make all components
all:
	@$(ECHO) "**************************************************"
	@$(ECHO) "*                                                *"
	@$(ECHO) "*             NitrOS-9 Level 2 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), ($(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), $(MAKE) -C $(dir) info; $(ECHO);)