annotate 3rdparty/packages/pacos9/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 e55663e7aa7b
children 57b3108c144d
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: 2612
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: 2612
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: 2612
diff changeset
3 endif
1864
f351932fa6cd Added pacos9
boisy
parents:
diff changeset
4 include $(NITROS9DIR)/rules.mak
f351932fa6cd Added pacos9
boisy
parents:
diff changeset
5
f351932fa6cd Added pacos9
boisy
parents:
diff changeset
6 RFILES = main90.r board90.r caged90.r check90.r ghosts90.r movpac90.r \
f351932fa6cd Added pacos9
boisy
parents:
diff changeset
7 score90.r scrns90.r setup90.r
f351932fa6cd Added pacos9
boisy
parents:
diff changeset
8
f351932fa6cd Added pacos9
boisy
parents:
diff changeset
9 pacos9: $(RFILES)
1866
5b15baeed060 Now uses $(C3BASE) to find proper lib
tlindner
parents: 1864
diff changeset
10 rlink $(RFILES) -o=pacos9 -l=$(C3BASE)/lib/sys.l
1879
72cb2773d5ee rules.mak updated with new rules
boisy
parents: 1866
diff changeset
11
72cb2773d5ee rules.mak updated with new rules
boisy
parents: 1866
diff changeset
12 clean:
72cb2773d5ee rules.mak updated with new rules
boisy
parents: 1866
diff changeset
13 $(RM) $(RFILES) pacos9
2612
e55663e7aa7b Fixed makfiles to include disk info
Boisy Pitre <boisy.pitre@nuance.com>
parents: 1879
diff changeset
14
e55663e7aa7b Fixed makfiles to include disk info
Boisy Pitre <boisy.pitre@nuance.com>
parents: 1879
diff changeset
15 info: