view level2/makefile @ 2925:aa31ba389777

d64: Put DEFS folder on disk 2 for 180K 5.25" disk set Otherwise disk 1 will be overfilled. And put all commands on disk 1, now that there is enough space. At this point the build has no errors nor warnings!
author Tormod Volden <debian.tormod@gmail.com>
date Sat, 18 Jan 2014 09:49:38 +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);)