Mercurial > hg > Members > kono > nitros9-code
annotate 3rdparty/packages/sierra/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 |
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 |
2087 | 4 include $(NITROS9DIR)/rules.mak |
5 | |
2192
36f6b076fd05
New dw3 format value for rules.mak, added christmas86 to sieraa build
boisy
parents:
2140
diff
changeset
|
6 dirs = blackcauldron christmas86 goldrush \ |
2099 | 7 kingsquest1 kingsquest2 kingsquest3 kingsquest4 \ |
8 leisuresuitlarry manhunter1 manhunter2 \ | |
2140 | 9 policequest1 spacequest0 spacequest1 spacequest2 |
2087 | 10 |
11 # Make all components | |
12 all: | |
13 @$(ECHO) "**************************************************" | |
14 @$(ECHO) "* *" | |
15 @$(ECHO) "* Sierra Adventure Games *" | |
16 @$(ECHO) "* *" | |
17 @$(ECHO) "**************************************************" | |
18 $(foreach dir, $(dirs), ($(CD) $(dir); make);) | |
19 | |
20 # Clean all components | |
2224 | 21 clean: |
2087 | 22 $(foreach dir, $(dirs), ($(CD) $(dir); make clean);) |
23 | |
24 # Create dsk images | |
25 dsk: | |
26 $(foreach dir, $(dirs), ($(CD) $(dir); make dsk);) | |
27 | |
28 # Copy dsk images | |
2224 | 29 dskcopy: |
2087 | 30 $(foreach dir, $(dirs), ($(CD) $(dir); make dskcopy);) |
31 | |
32 # Clean dsk images | |
33 dskclean: | |
34 $(foreach dir, $(dirs), ($(CD) $(dir); make dskclean);) | |
2216 | 35 |
36 # Info | |
37 info: | |
38 @$(foreach dir, $(dirs), ($(CD) $(dir); make info; $(ECHO));) | |
39 |