Mercurial > hg > Members > kono > nitros9-code
annotate 3rdparty/fmgrs/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 | 770c350f4c15 |
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:
1366
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:
1366
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:
1366
diff
changeset
|
3 endif |
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:
1366
diff
changeset
|
4 include $(NITROS9DIR)/rules.mak |
0 | 5 |
1119
f86ef3d1d7c9
Makefiles have been redone to take advantage of size and Make features
boisy
parents:
679
diff
changeset
|
6 dirs = msf |
f86ef3d1d7c9
Makefiles have been redone to take advantage of size and Make features
boisy
parents:
679
diff
changeset
|
7 |
0 | 8 # Make all components |
9 all: | |
1366 | 10 @$(ECHO) "**************************************************" |
11 @$(ECHO) "* *" | |
12 @$(ECHO) "* File Managers *" | |
13 @$(ECHO) "* *" | |
14 @$(ECHO) "**************************************************" | |
1119
f86ef3d1d7c9
Makefiles have been redone to take advantage of size and Make features
boisy
parents:
679
diff
changeset
|
15 $(foreach dir, $(dirs), $(CD) $(dir); make; $(CD) ..;) |
0 | 16 |
17 # Clean all components | |
18 clean: | |
1119
f86ef3d1d7c9
Makefiles have been redone to take advantage of size and Make features
boisy
parents:
679
diff
changeset
|
19 $(foreach dir, $(dirs), $(CD) $(dir); make clean; $(CD) ..;) |
f86ef3d1d7c9
Makefiles have been redone to take advantage of size and Make features
boisy
parents:
679
diff
changeset
|
20 |
f86ef3d1d7c9
Makefiles have been redone to take advantage of size and Make features
boisy
parents:
679
diff
changeset
|
21 # Make DSK images |
f86ef3d1d7c9
Makefiles have been redone to take advantage of size and Make features
boisy
parents:
679
diff
changeset
|
22 dsk: |
f86ef3d1d7c9
Makefiles have been redone to take advantage of size and Make features
boisy
parents:
679
diff
changeset
|
23 $(foreach dir, $(dirs), $(CD) $(dir); make dsk; $(CD) ..;) |
f86ef3d1d7c9
Makefiles have been redone to take advantage of size and Make features
boisy
parents:
679
diff
changeset
|
24 |
f86ef3d1d7c9
Makefiles have been redone to take advantage of size and Make features
boisy
parents:
679
diff
changeset
|
25 # Copy DSK images |
f86ef3d1d7c9
Makefiles have been redone to take advantage of size and Make features
boisy
parents:
679
diff
changeset
|
26 dskcopy: |
f86ef3d1d7c9
Makefiles have been redone to take advantage of size and Make features
boisy
parents:
679
diff
changeset
|
27 $(foreach dir, $(dirs), $(CD) $(dir); make dskcopy; $(CD) ..;) |