Mercurial > hg > Members > kono > nitros9-code
annotate level2/makefile @ 3145:0c5b16b0b65d
Include coco3fpga port in default build
Added "coco3fpga" to dir list in "level2/makefile"
author | Bill Pierce <merlinious999@gmail.com> |
---|---|
date | Sat, 04 Feb 2017 18:33:07 +0100 |
parents | e1aadba01e81 |
children |
rev | line source |
---|---|
2046 | 1 include $(NITROS9DIR)/rules.mak |
455 | 2 |
3145
0c5b16b0b65d
Include coco3fpga port in default build
Bill Pierce <merlinious999@gmail.com>
parents:
3131
diff
changeset
|
3 dirs = coco3 coco3_6309 mc09l2 coco3fpga |
2912
14b4f2791bb3
Allow selection of ports to build using PORTS variable
Tormod Volden <debian.tormod@gmail.com>
parents:
2898
diff
changeset
|
4 ifdef PORTS |
14b4f2791bb3
Allow selection of ports to build using PORTS variable
Tormod Volden <debian.tormod@gmail.com>
parents:
2898
diff
changeset
|
5 dirs = $(PORTS) |
14b4f2791bb3
Allow selection of ports to build using PORTS variable
Tormod Volden <debian.tormod@gmail.com>
parents:
2898
diff
changeset
|
6 endif |
341 | 7 |
0 | 8 # Make all components |
9 all: | |
1363 | 10 @$(ECHO) "**************************************************" |
11 @$(ECHO) "* *" | |
2046 | 12 @$(ECHO) "* NitrOS-9 Level 2 Ports *" |
1363 | 13 @$(ECHO) "* *" |
14 @$(ECHO) "**************************************************" | |
2913
1c1600cc9f02
makefiles: Stop if a component fails to build
Tormod Volden <debian.tormod@gmail.com>
parents:
2912
diff
changeset
|
15 $(foreach dir,$(dirs),$(MAKE) -C $(dir) &&) : |
0 | 16 |
17 # Clean all components | |
2224 | 18 clean: |
3053
22122ff8bef3
level 2/3 makefiles: Cosmetic/whitespace changes
Tormod Volden <debian.tormod@gmail.com>
parents:
2944
diff
changeset
|
19 $(foreach dir,$(dirs),$(MAKE) -C $(dir) clean &&) : |
1705 | 20 |
2046 | 21 # Make DSK images |
22 dsk: | |
2944
ab3f9eb5fc5c
level*/makefile: Abort if dsk or dskcopy target fails in subdir
Tormod Volden <debian.tormod@gmail.com>
parents:
2913
diff
changeset
|
23 $(foreach dir,$(dirs),$(MAKE) -C $(dir) dsk &&) : |
1126 | 24 |
2199 | 25 # Copy DSK images |
26 dskcopy: | |
2944
ab3f9eb5fc5c
level*/makefile: Abort if dsk or dskcopy target fails in subdir
Tormod Volden <debian.tormod@gmail.com>
parents:
2913
diff
changeset
|
27 $(foreach dir,$(dirs),$(MAKE) -C $(dir) dskcopy &&) : |
2199 | 28 |
2046 | 29 # Clean DSK images |
30 dskclean: | |
3053
22122ff8bef3
level 2/3 makefiles: Cosmetic/whitespace changes
Tormod Volden <debian.tormod@gmail.com>
parents:
2944
diff
changeset
|
31 $(foreach dir,$(dirs),$(MAKE) -C $(dir) dskclean &&) : |
2216 | 32 |
33 # Info | |
34 info: | |
3053
22122ff8bef3
level 2/3 makefiles: Cosmetic/whitespace changes
Tormod Volden <debian.tormod@gmail.com>
parents:
2944
diff
changeset
|
35 @$(foreach dir,$(dirs),$(MAKE) -C $(dir) info; $(ECHO);) |