Mercurial > hg > Members > kono > nitros9-code
annotate bootman/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 | 6c8f028e8c5e |
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:
2234
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:
2234
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:
2234
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:
2234
diff
changeset
|
4 include $(NITROS9DIR)/rules.mak |
2163 | 5 |
2234 | 6 all: bootman_coco_6551 bootman_coco3_6551 #bootman_loader |
2191 | 7 |
8 bootman_loader: bootman_loader.a | |
9 mamou $^ -o$@ -mb | |
10 | |
2234 | 11 bootman_coco_6551: bootman.r boot_config.r mach_coco.r llio_6551.r llbt_1773.r |
2233 | 12 $(LINKER) $^ -o=$@ |
13 | |
2234 | 14 bootman_coco3_6551: bootman.r boot_config.r mach_coco3.r llio_6551.r llbt_1773.r |
2191 | 15 $(LINKER) $^ -o=$@ |
2163 | 16 |
17 dsk: bootman | |
18 decb dskini bootman.dsk | |
2234 | 19 decb copy -b -2 bootman_coco_6551 bootman.dsk,BM6551.BIN |
20 decb copy -b -2 bootman_coco3_6551 bootman.dsk,BM36551.BIN | |
2163 | 21 |
22 clean: | |
2234 | 23 -$(RM) *.r bootman_coco_6551 bootman_coco3_6551 bootman.dsk |