Mercurial > hg > Members > kono > nitros9-code
annotate level1/makefile @ 3141:717ced83b885
coco3: Build SD card device descriptors for CoCo3FPGA
Added "CC3FPGAFLAGS = $(AFLAGS) -DCC3FPGA=1 $(FLAGS)" to
"level2/coco3/modules/makefile" for flagging Coco3FPGA specific features
in modules sources.
Added "llcoco3fpga", "ddsd0_coco3fpga", "sd0_coco3fpga", and
"sd1_coco3fpga" to the "coco3/modules/makefile" - RBF section, which
also now adds all to the "NITROS9/MODULES/RBF" on all disk images for
building new Coco3FPGA disks from NitrOS9.
Added new descriptor section to the "level2/coco3/modules/makefile"
reflecting the new Coco3FPGA SD card descriptors and their flags.
author | Bill Pierce <merlinious999@gmail.com> |
---|---|
date | Sat, 04 Feb 2017 11:06:28 +0100 |
parents | 47cd23dcf55e |
children | 185c31229f22 |
rev | line source |
---|---|
2047 | 1 include $(NITROS9DIR)/rules.mak |
2 | |
3117
47cd23dcf55e
Incorporate mc09 in build, add support in l1 init/rel/boot_sdc
Neal Crook <foofoobedoo@gmail.com>
parents:
3106
diff
changeset
|
3 dirs = coco1 coco1_6309 deluxe coco2 coco2_6309 coco2b tano d64 dalpha atari mc09 |
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 |
2047 | 7 |
8 # Make all components | |
9 all: | |
10 @$(ECHO) "**************************************************" | |
11 @$(ECHO) "* *" | |
12 @$(ECHO) "* NitrOS-9 Level 1 Ports *" | |
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) &&) : |
2047 | 16 |
17 # Clean all components | |
2224 | 18 clean: |
3106
5119107aaaa7
makefiles: Fail on broken clean targets
Tormod Volden <debian.tormod@gmail.com>
parents:
3085
diff
changeset
|
19 $(foreach dir,$(dirs),$(MAKE) -C $(dir) clean &&) : |
2047 | 20 |
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 &&) : |
2047 | 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 |
2047 | 29 # Clean DSK images |
30 dskclean: | |
3106
5119107aaaa7
makefiles: Fail on broken clean targets
Tormod Volden <debian.tormod@gmail.com>
parents:
3085
diff
changeset
|
31 $(foreach dir,$(dirs),$(MAKE) -C $(dir) dskclean &&) : |
2216 | 32 |
33 # Info | |
34 info: | |
2861
bd286ab169c7
Makefiles: Make make info prettier for dsks/ReadMe
Tormod Volden <debian.tormod@gmail.com>
parents:
2822
diff
changeset
|
35 @$(foreach dir, $(dirs), $(MAKE) -C $(dir) info; $(ECHO);) |
2216 | 36 |