Mercurial > hg > Members > kono > nitros9-code
annotate 3rdparty/p2mods/noice/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 | ae5e9b0aded6 |
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:
2004
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:
2004
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:
2004
diff
changeset
|
3 endif |
1978 | 4 include $(NITROS9DIR)/rules.mak |
5 | |
6 AFLAGS += #-ASWI | |
7 | |
8 MD = $(6809L1)/modules | |
9 CMD = $(6809L1)/cmds | |
10 BD = ../../booters | |
11 | |
12 | |
2004 | 13 all: calldbg krnp3_6309 krnp3_6809 krnp3_6309_mpi krnp3_6809_mpi noice noice_mpi |
1978 | 14 |
2004 | 15 # calldbg works for both Level 1 and Level 2 |
16 calldbg: calldbg.asm | |
2003 | 17 $(AS) $(ASOUT)$@ $< -aLevel=1 $(AFLAGS) |
1978 | 18 |
19 krnp3_6309: noice.asm | |
2003 | 20 $(AS) $(ASOUT)$@ $< -aLevel=2 -aH6309 -e $(AFLAGS) |
1978 | 21 |
1995 | 22 krnp3_6309_mpi: noice.asm |
2003 | 23 $(AS) $(ASOUT)$@ $< -aLevel=2 -aH6309 -e $(AFLAGS) -aMPI=1 |
1995 | 24 |
1978 | 25 krnp3_6809: noice.asm |
2003 | 26 $(AS) $(ASOUT)$@ $< -aLevel=2 $(AFLAGS) |
1978 | 27 |
1995 | 28 krnp3_6809_mpi: noice.asm |
2003 | 29 $(AS) $(ASOUT)$@ $< -aLevel=2 $(AFLAGS) -aMPI=1 |
30 | |
31 noice: noice.asm | |
32 $(AS) $(ASOUT)$@ $< -aLevel=1 $(AFLAGS) | |
33 | |
34 noice_mpi: noice.asm | |
35 $(AS) $(ASOUT)$@ $< -aLevel=1 $(AFLAGS) -aMPI=1 | |
1995 | 36 |
1978 | 37 clean: |
2004 | 38 $(RM) calldbg krnp3_6309 krnp3_6809 krnp3_6309_mpi krnp3_6809_mpi noice noice_mpi |