diff level2/makefile @ 2912:14b4f2791bb3

Allow selection of ports to build using PORTS variable When building from the top level directory, a subset of ports can be specified, some examples: make PORTS=atari make PORTS="d64 tano dalpha" make dsk PORTS=coco3_6309 Note that ports from level2 (coco3 or coco3_6309) can not be specified together with ports from level1.
author Tormod Volden <debian.tormod@gmail.com>
date Sun, 12 Jan 2014 00:45:16 +0100
parents 28ed72477814
children 1c1600cc9f02
line wrap: on
line diff
--- a/level2/makefile	Sat Jan 11 22:57:41 2014 +0100
+++ b/level2/makefile	Sun Jan 12 00:45:16 2014 +0100
@@ -1,6 +1,9 @@
 include $(NITROS9DIR)/rules.mak
 
 dirs	= coco3 coco3_6309
+ifdef PORTS
+dirs	= $(PORTS)
+endif
 
 # Make all components
 all: