annotate level3/makefile @ 3158:927ba5ebc06e

mc09 l2: move MMU bit-field defines to defs file.
author Neal Crook <foofoobedoo@gmail.com>
date Thu, 06 Apr 2017 21:43:58 +0100
parents 95f38ad828e4
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3000
9cae8c7cf7fd level3 makefiles: Fill in top level makefile (copied from level2)
Gene Heskett <gheskett@wdtv.com>
parents: 2859
diff changeset
1 include $(NITROS9DIR)/rules.mak
3108
95f38ad828e4 makefiles: Use port.mak for level 2 and 3 as well
Tormod Volden <debian.tormod@gmail.com>
parents: 3001
diff changeset
2
3000
9cae8c7cf7fd level3 makefiles: Fill in top level makefile (copied from level2)
Gene Heskett <gheskett@wdtv.com>
parents: 2859
diff changeset
3 dirs = coco3 coco3_6309
9cae8c7cf7fd level3 makefiles: Fill in top level makefile (copied from level2)
Gene Heskett <gheskett@wdtv.com>
parents: 2859
diff changeset
4 ifdef PORTS
9cae8c7cf7fd level3 makefiles: Fill in top level makefile (copied from level2)
Gene Heskett <gheskett@wdtv.com>
parents: 2859
diff changeset
5 dirs = $(PORTS)
9cae8c7cf7fd level3 makefiles: Fill in top level makefile (copied from level2)
Gene Heskett <gheskett@wdtv.com>
parents: 2859
diff changeset
6 endif
2859
3a3cbc11ea9d Make build fail if first level subdirectory fails
Tormod Volden <debian.tormod@gmail.com>
parents:
diff changeset
7
3000
9cae8c7cf7fd level3 makefiles: Fill in top level makefile (copied from level2)
Gene Heskett <gheskett@wdtv.com>
parents: 2859
diff changeset
8 # Make all components
2859
3a3cbc11ea9d Make build fail if first level subdirectory fails
Tormod Volden <debian.tormod@gmail.com>
parents:
diff changeset
9 all:
3000
9cae8c7cf7fd level3 makefiles: Fill in top level makefile (copied from level2)
Gene Heskett <gheskett@wdtv.com>
parents: 2859
diff changeset
10 @$(ECHO) "**************************************************"
9cae8c7cf7fd level3 makefiles: Fill in top level makefile (copied from level2)
Gene Heskett <gheskett@wdtv.com>
parents: 2859
diff changeset
11 @$(ECHO) "* *"
3108
95f38ad828e4 makefiles: Use port.mak for level 2 and 3 as well
Tormod Volden <debian.tormod@gmail.com>
parents: 3001
diff changeset
12 @$(ECHO) "* NitrOS-9 Level 3 Ports *"
3000
9cae8c7cf7fd level3 makefiles: Fill in top level makefile (copied from level2)
Gene Heskett <gheskett@wdtv.com>
parents: 2859
diff changeset
13 @$(ECHO) "* *"
9cae8c7cf7fd level3 makefiles: Fill in top level makefile (copied from level2)
Gene Heskett <gheskett@wdtv.com>
parents: 2859
diff changeset
14 @$(ECHO) "**************************************************"
3108
95f38ad828e4 makefiles: Use port.mak for level 2 and 3 as well
Tormod Volden <debian.tormod@gmail.com>
parents: 3001
diff changeset
15 $(foreach dir,$(dirs),$(MAKE) -C $(dir) &&) :
3000
9cae8c7cf7fd level3 makefiles: Fill in top level makefile (copied from level2)
Gene Heskett <gheskett@wdtv.com>
parents: 2859
diff changeset
16
9cae8c7cf7fd level3 makefiles: Fill in top level makefile (copied from level2)
Gene Heskett <gheskett@wdtv.com>
parents: 2859
diff changeset
17 # Clean all components
2859
3a3cbc11ea9d Make build fail if first level subdirectory fails
Tormod Volden <debian.tormod@gmail.com>
parents:
diff changeset
18 clean:
3108
95f38ad828e4 makefiles: Use port.mak for level 2 and 3 as well
Tormod Volden <debian.tormod@gmail.com>
parents: 3001
diff changeset
19 $(foreach dir,$(dirs),$(MAKE) -C $(dir) clean &&) :
3000
9cae8c7cf7fd level3 makefiles: Fill in top level makefile (copied from level2)
Gene Heskett <gheskett@wdtv.com>
parents: 2859
diff changeset
20
9cae8c7cf7fd level3 makefiles: Fill in top level makefile (copied from level2)
Gene Heskett <gheskett@wdtv.com>
parents: 2859
diff changeset
21 # Make DSK images
2859
3a3cbc11ea9d Make build fail if first level subdirectory fails
Tormod Volden <debian.tormod@gmail.com>
parents:
diff changeset
22 dsk:
3108
95f38ad828e4 makefiles: Use port.mak for level 2 and 3 as well
Tormod Volden <debian.tormod@gmail.com>
parents: 3001
diff changeset
23 $(foreach dir,$(dirs),$(MAKE) -C $(dir) dsk &&) :
3000
9cae8c7cf7fd level3 makefiles: Fill in top level makefile (copied from level2)
Gene Heskett <gheskett@wdtv.com>
parents: 2859
diff changeset
24
9cae8c7cf7fd level3 makefiles: Fill in top level makefile (copied from level2)
Gene Heskett <gheskett@wdtv.com>
parents: 2859
diff changeset
25 # Copy DSK images
2859
3a3cbc11ea9d Make build fail if first level subdirectory fails
Tormod Volden <debian.tormod@gmail.com>
parents:
diff changeset
26 dskcopy:
3108
95f38ad828e4 makefiles: Use port.mak for level 2 and 3 as well
Tormod Volden <debian.tormod@gmail.com>
parents: 3001
diff changeset
27 $(foreach dir,$(dirs),$(MAKE) -C $(dir) dskcopy &&) :
3000
9cae8c7cf7fd level3 makefiles: Fill in top level makefile (copied from level2)
Gene Heskett <gheskett@wdtv.com>
parents: 2859
diff changeset
28
9cae8c7cf7fd level3 makefiles: Fill in top level makefile (copied from level2)
Gene Heskett <gheskett@wdtv.com>
parents: 2859
diff changeset
29 # Clean DSK images
2859
3a3cbc11ea9d Make build fail if first level subdirectory fails
Tormod Volden <debian.tormod@gmail.com>
parents:
diff changeset
30 dskclean:
3108
95f38ad828e4 makefiles: Use port.mak for level 2 and 3 as well
Tormod Volden <debian.tormod@gmail.com>
parents: 3001
diff changeset
31 $(foreach dir,$(dirs),$(MAKE) -C $(dir) dskclean &&) :
3000
9cae8c7cf7fd level3 makefiles: Fill in top level makefile (copied from level2)
Gene Heskett <gheskett@wdtv.com>
parents: 2859
diff changeset
32
9cae8c7cf7fd level3 makefiles: Fill in top level makefile (copied from level2)
Gene Heskett <gheskett@wdtv.com>
parents: 2859
diff changeset
33 # Info
9cae8c7cf7fd level3 makefiles: Fill in top level makefile (copied from level2)
Gene Heskett <gheskett@wdtv.com>
parents: 2859
diff changeset
34 info:
3108
95f38ad828e4 makefiles: Use port.mak for level 2 and 3 as well
Tormod Volden <debian.tormod@gmail.com>
parents: 3001
diff changeset
35 @$(foreach dir,$(dirs),$(MAKE) -C $(dir) info; $(ECHO);)