view makefile @ 1125:17abff098c6d

os9 attr now used
author boisy
date Sun, 13 Apr 2003 22:35:00 +0000
parents f86ef3d1d7c9
children 4bddc63a59fc
line wrap: on
line source

include Makefile.rules

dirs	= $(LEVEL1) $(LEVEL2) $(NLEVEL2) $(3RDPARTY)
 
# Make all components
all:
	@$(ECHO) "*********************************************"
	@$(ECHO) "*                                           *"
	@$(ECHO) "*          COCOOS9 SOURCE PROJECT           *"
	@$(ECHO) "*                                           *"
	@$(ECHO) "*********************************************"
	$(foreach dir, $(dirs), $(CD) $(dir); make; $(CD) ..;)

# Clean all components
clean:  dskclean
	$(foreach dir, $(dirs), $(CD) $(dir); make clean; $(CD) ..;)

# Make DSK images
dsk:	all
	$(foreach dir, $(dirs), $(CD) $(dir); make dsk; $(CD) ..;)

# Clean DSK images
dskclean:
	$(foreach dir, $(dirs), $(CD) $(dir); make dskclean; $(CD) ..;)
	rm -f $(DSKDIR)/*

# Copy DSK images
dskcopy: dsk
	$(foreach dir, $(dirs), $(CD) $(dir); make dskcopy; $(CD) ..;)