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
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
2087
92a292bd81e8 makefiles updated
boisy
parents:
diff changeset
4 include $(NITROS9DIR)/rules.mak
92a292bd81e8 makefiles updated
boisy
parents:
diff changeset
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
c0e39b3fc9e9 Updated
boisy
parents: 2094
diff changeset
7 kingsquest1 kingsquest2 kingsquest3 kingsquest4 \
c0e39b3fc9e9 Updated
boisy
parents: 2094
diff changeset
8 leisuresuitlarry manhunter1 manhunter2 \
2140
1712fac2daac Updated
boisy
parents: 2100
diff changeset
9 policequest1 spacequest0 spacequest1 spacequest2
2087
92a292bd81e8 makefiles updated
boisy
parents:
diff changeset
10
92a292bd81e8 makefiles updated
boisy
parents:
diff changeset
11 # Make all components
92a292bd81e8 makefiles updated
boisy
parents:
diff changeset
12 all:
92a292bd81e8 makefiles updated
boisy
parents:
diff changeset
13 @$(ECHO) "**************************************************"
92a292bd81e8 makefiles updated
boisy
parents:
diff changeset
14 @$(ECHO) "* *"
92a292bd81e8 makefiles updated
boisy
parents:
diff changeset
15 @$(ECHO) "* Sierra Adventure Games *"
92a292bd81e8 makefiles updated
boisy
parents:
diff changeset
16 @$(ECHO) "* *"
92a292bd81e8 makefiles updated
boisy
parents:
diff changeset
17 @$(ECHO) "**************************************************"
92a292bd81e8 makefiles updated
boisy
parents:
diff changeset
18 $(foreach dir, $(dirs), ($(CD) $(dir); make);)
92a292bd81e8 makefiles updated
boisy
parents:
diff changeset
19
92a292bd81e8 makefiles updated
boisy
parents:
diff changeset
20 # Clean all components
2224
22b75f9788a5 Removed redundant targets
boisy
parents: 2216
diff changeset
21 clean:
2087
92a292bd81e8 makefiles updated
boisy
parents:
diff changeset
22 $(foreach dir, $(dirs), ($(CD) $(dir); make clean);)
92a292bd81e8 makefiles updated
boisy
parents:
diff changeset
23
92a292bd81e8 makefiles updated
boisy
parents:
diff changeset
24 # Create dsk images
92a292bd81e8 makefiles updated
boisy
parents:
diff changeset
25 dsk:
92a292bd81e8 makefiles updated
boisy
parents:
diff changeset
26 $(foreach dir, $(dirs), ($(CD) $(dir); make dsk);)
92a292bd81e8 makefiles updated
boisy
parents:
diff changeset
27
92a292bd81e8 makefiles updated
boisy
parents:
diff changeset
28 # Copy dsk images
2224
22b75f9788a5 Removed redundant targets
boisy
parents: 2216
diff changeset
29 dskcopy:
2087
92a292bd81e8 makefiles updated
boisy
parents:
diff changeset
30 $(foreach dir, $(dirs), ($(CD) $(dir); make dskcopy);)
92a292bd81e8 makefiles updated
boisy
parents:
diff changeset
31
92a292bd81e8 makefiles updated
boisy
parents:
diff changeset
32 # Clean dsk images
92a292bd81e8 makefiles updated
boisy
parents:
diff changeset
33 dskclean:
92a292bd81e8 makefiles updated
boisy
parents:
diff changeset
34 $(foreach dir, $(dirs), ($(CD) $(dir); make dskclean);)
2216
d096a278e068 Added info targets
boisy
parents: 2192
diff changeset
35
d096a278e068 Added info targets
boisy
parents: 2192
diff changeset
36 # Info
d096a278e068 Added info targets
boisy
parents: 2192
diff changeset
37 info:
d096a278e068 Added info targets
boisy
parents: 2192
diff changeset
38 @$(foreach dir, $(dirs), ($(CD) $(dir); make info; $(ECHO));)
d096a278e068 Added info targets
boisy
parents: 2192
diff changeset
39