view 3rdparty/makefile @ 2850:95923f065070 lwtools-port

arcadepak/makefile: Call "os9 copy" with multiple files Instead of calling "os9 copy" for every single file, copy all files with one call. Speeds up disk image build time.
author Tormod Volden <debian.tormod@gmail.com>
date Fri, 12 Jul 2013 22:26:05 +0200
parents 56179f66e43d
children baa835d68db2 bd286ab169c7
line wrap: on
line source

include ../rules.mak

dirs	= booters drivers fmgrs p2mods subrtns utils packages

# Make all components
all:
	@$(ECHO) "**************************************************"
	@$(ECHO) "*                                                *"
	@$(ECHO) "*               3rd Party Software               *"
	@$(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);)

# Clean DSK images
dskclean:
	$(foreach dir, $(dirs), ($(CD) $(dir); make dskclean);)

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

# Info
info:
	@$(foreach dir, $(dirs), ($(CD) $(dir); make info; $(ECHO));)