annotate level2/makefile @ 2758:e4a0f58a5f9b

Found that people who do not have the envirornment variable NITROS9DIR set before building the project get a error missing file "/rules.mak". Found this is caused do to the fact that the code to set this envirornment variable is in the rules.mak which can't get loaded. To fix this the code needed to set the envirornment variable that is in the rules.mak is now in the makefile(s) right before the include for the rules.mak file. This should fix the problem for those who do not have the NITROS9DIR envirornment variable preset.
author drencor-xeen
date Mon, 14 Jan 2013 14:37:46 -0600
parents 22b75f9788a5
children 1addfd8c9d5f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2758
e4a0f58a5f9b Found that people who do not have the envirornment variable NITROS9DIR set before building the project get a error missing file "/rules.mak". Found this is caused do to the fact that the code to set this envirornment variable is in the rules.mak which can't get loaded.
drencor-xeen
parents: 2224
diff changeset
1 ifndef NITROS9DIR
e4a0f58a5f9b Found that people who do not have the envirornment variable NITROS9DIR set before building the project get a error missing file "/rules.mak". Found this is caused do to the fact that the code to set this envirornment variable is in the rules.mak which can't get loaded.
drencor-xeen
parents: 2224
diff changeset
2 NITROS9DIR = $(HOME)/nitros9
e4a0f58a5f9b Found that people who do not have the envirornment variable NITROS9DIR set before building the project get a error missing file "/rules.mak". Found this is caused do to the fact that the code to set this envirornment variable is in the rules.mak which can't get loaded.
drencor-xeen
parents: 2224
diff changeset
3 endif
2046
cac62639358c new makefile
boisy
parents: 2045
diff changeset
4 include $(NITROS9DIR)/rules.mak
455
boisy
parents: 355
diff changeset
5
2059
46aa4db8204e More changes
boisy
parents: 2052
diff changeset
6 dirs = coco3 coco3_6309
341
20944721d3e6 Major makefile mods
boisy
parents: 337
diff changeset
7
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
8 # Make all components
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
9 all:
1363
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
10 @$(ECHO) "**************************************************"
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
11 @$(ECHO) "* *"
2046
cac62639358c new makefile
boisy
parents: 2045
diff changeset
12 @$(ECHO) "* NitrOS-9 Level 2 Ports *"
1363
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
13 @$(ECHO) "* *"
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
14 @$(ECHO) "**************************************************"
2046
cac62639358c new makefile
boisy
parents: 2045
diff changeset
15 $(foreach dir, $(dirs), ($(CD) $(dir); make);)
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
16
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
17 # Clean all components
2224
22b75f9788a5 Removed redundant targets
boisy
parents: 2216
diff changeset
18 clean:
2046
cac62639358c new makefile
boisy
parents: 2045
diff changeset
19 $(foreach dir, $(dirs), ($(CD) $(dir); make clean);)
1705
bd792517eea1 Updated makefiles for 50Hz distributions
boisy
parents: 1696
diff changeset
20
2046
cac62639358c new makefile
boisy
parents: 2045
diff changeset
21 # Make DSK images
cac62639358c new makefile
boisy
parents: 2045
diff changeset
22 dsk:
cac62639358c new makefile
boisy
parents: 2045
diff changeset
23 $(foreach dir, $(dirs), ($(CD) $(dir); make dsk);)
1126
85eed1cde1b7 attr used throughout the makefiles now
boisy
parents: 1122
diff changeset
24
2199
eab970e382e2 Prep for nightly builds
boisy
parents: 2059
diff changeset
25 # Copy DSK images
eab970e382e2 Prep for nightly builds
boisy
parents: 2059
diff changeset
26 dskcopy:
eab970e382e2 Prep for nightly builds
boisy
parents: 2059
diff changeset
27 $(foreach dir, $(dirs), ($(CD) $(dir); make dskcopy);)
eab970e382e2 Prep for nightly builds
boisy
parents: 2059
diff changeset
28
2046
cac62639358c new makefile
boisy
parents: 2045
diff changeset
29 # Clean DSK images
cac62639358c new makefile
boisy
parents: 2045
diff changeset
30 dskclean:
cac62639358c new makefile
boisy
parents: 2045
diff changeset
31 $(foreach dir, $(dirs), ($(CD) $(dir); make dskclean);)
2216
d096a278e068 Added info targets
boisy
parents: 2199
diff changeset
32
d096a278e068 Added info targets
boisy
parents: 2199
diff changeset
33 # Info
d096a278e068 Added info targets
boisy
parents: 2199
diff changeset
34 info:
d096a278e068 Added info targets
boisy
parents: 2199
diff changeset
35 @$(foreach dir, $(dirs), ($(CD) $(dir); make info; $(ECHO));)