annotate level2/coco3/defs/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 b8c7b7fbf3c9
children 1addfd8c9d5f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2047
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
1 PORT = coco3
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: 2624
diff changeset
2 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: 2624
diff changeset
3 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: 2624
diff changeset
4 endif
2047
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
5 include $(NITROS9DIR)/rules.mak
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
6
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
7 DEPENDS = ./makefile
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
8
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
9 DEFOPTS = -ls -x -z -aLevel=2
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
10 PERMDEFS = Defsfile
2624
b8c7b7fbf3c9 Major changes:
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2050
diff changeset
11 DEFS = os9.d rbf.d scf.d coco.d coco3vtio.d
2047
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
12 ALLOBJS = $(DEFS) $(PERMDEFS)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
13
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
14 all: $(ALLOBJS)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
15
2624
b8c7b7fbf3c9 Major changes:
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2050
diff changeset
16 os9.d: $(DEFSDIR)/os9.d
b8c7b7fbf3c9 Major changes:
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2050
diff changeset
17 $(AS) $(AFLAGS) $(DEFOPTS) -aOS9.D=0 $< > $@
2047
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
18
2624
b8c7b7fbf3c9 Major changes:
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2050
diff changeset
19 rbf.d: $(DEFSDIR)/rbf.d
b8c7b7fbf3c9 Major changes:
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2050
diff changeset
20 $(AS) $(AFLAGS) $(DEFOPTS) -aRBF.D=0 $< > $@
2047
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
21
2624
b8c7b7fbf3c9 Major changes:
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2050
diff changeset
22 scf.d: $(DEFSDIR)/scf.d
b8c7b7fbf3c9 Major changes:
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2050
diff changeset
23 $(AS) $(AFLAGS) $(DEFOPTS) -aSCF.D=0 $< > $@
2047
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
24
2624
b8c7b7fbf3c9 Major changes:
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2050
diff changeset
25 coco.d: $(DEFSDIR)/coco.d
b8c7b7fbf3c9 Major changes:
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2050
diff changeset
26 $(AS) $(AFLAGS) $(DEFOPTS) -aCOCO.D=0 $< > $@
2047
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
27
2624
b8c7b7fbf3c9 Major changes:
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2050
diff changeset
28 coco3vtio.d: $(DEFSDIR)/cocovtio.d
b8c7b7fbf3c9 Major changes:
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2050
diff changeset
29 $(AS) $(AFLAGS) $(DEFOPTS) -aCOCOVTIO.D=0 $< > $@
2047
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
30
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
31 clean:
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
32 $(RM) $(DEFS)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
33
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
34 showobjs:
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
35 @$(ECHO) $(ALLOBJS)