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
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: 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
c2d3c4232663 Added remote debugging
boisy
parents:
diff changeset
4 include $(NITROS9DIR)/rules.mak
c2d3c4232663 Added remote debugging
boisy
parents:
diff changeset
5
c2d3c4232663 Added remote debugging
boisy
parents:
diff changeset
6 AFLAGS += #-ASWI
c2d3c4232663 Added remote debugging
boisy
parents:
diff changeset
7
c2d3c4232663 Added remote debugging
boisy
parents:
diff changeset
8 MD = $(6809L1)/modules
c2d3c4232663 Added remote debugging
boisy
parents:
diff changeset
9 CMD = $(6809L1)/cmds
c2d3c4232663 Added remote debugging
boisy
parents:
diff changeset
10 BD = ../../booters
c2d3c4232663 Added remote debugging
boisy
parents:
diff changeset
11
c2d3c4232663 Added remote debugging
boisy
parents:
diff changeset
12
2004
ae5e9b0aded6 Further updates
boisy
parents: 2003
diff changeset
13 all: calldbg krnp3_6309 krnp3_6809 krnp3_6309_mpi krnp3_6809_mpi noice noice_mpi
1978
c2d3c4232663 Added remote debugging
boisy
parents:
diff changeset
14
2004
ae5e9b0aded6 Further updates
boisy
parents: 2003
diff changeset
15 # calldbg works for both Level 1 and Level 2
ae5e9b0aded6 Further updates
boisy
parents: 2003
diff changeset
16 calldbg: calldbg.asm
2003
21ddb4118b6c Edition 3 - now copes well in user and system state
boisy
parents: 1995
diff changeset
17 $(AS) $(ASOUT)$@ $< -aLevel=1 $(AFLAGS)
1978
c2d3c4232663 Added remote debugging
boisy
parents:
diff changeset
18
c2d3c4232663 Added remote debugging
boisy
parents:
diff changeset
19 krnp3_6309: noice.asm
2003
21ddb4118b6c Edition 3 - now copes well in user and system state
boisy
parents: 1995
diff changeset
20 $(AS) $(ASOUT)$@ $< -aLevel=2 -aH6309 -e $(AFLAGS)
1978
c2d3c4232663 Added remote debugging
boisy
parents:
diff changeset
21
1995
2bb2f8b975b0 additional preliminary changes made by R. Gault
boisy
parents: 1978
diff changeset
22 krnp3_6309_mpi: noice.asm
2003
21ddb4118b6c Edition 3 - now copes well in user and system state
boisy
parents: 1995
diff changeset
23 $(AS) $(ASOUT)$@ $< -aLevel=2 -aH6309 -e $(AFLAGS) -aMPI=1
1995
2bb2f8b975b0 additional preliminary changes made by R. Gault
boisy
parents: 1978
diff changeset
24
1978
c2d3c4232663 Added remote debugging
boisy
parents:
diff changeset
25 krnp3_6809: noice.asm
2003
21ddb4118b6c Edition 3 - now copes well in user and system state
boisy
parents: 1995
diff changeset
26 $(AS) $(ASOUT)$@ $< -aLevel=2 $(AFLAGS)
1978
c2d3c4232663 Added remote debugging
boisy
parents:
diff changeset
27
1995
2bb2f8b975b0 additional preliminary changes made by R. Gault
boisy
parents: 1978
diff changeset
28 krnp3_6809_mpi: noice.asm
2003
21ddb4118b6c Edition 3 - now copes well in user and system state
boisy
parents: 1995
diff changeset
29 $(AS) $(ASOUT)$@ $< -aLevel=2 $(AFLAGS) -aMPI=1
21ddb4118b6c Edition 3 - now copes well in user and system state
boisy
parents: 1995
diff changeset
30
21ddb4118b6c Edition 3 - now copes well in user and system state
boisy
parents: 1995
diff changeset
31 noice: noice.asm
21ddb4118b6c Edition 3 - now copes well in user and system state
boisy
parents: 1995
diff changeset
32 $(AS) $(ASOUT)$@ $< -aLevel=1 $(AFLAGS)
21ddb4118b6c Edition 3 - now copes well in user and system state
boisy
parents: 1995
diff changeset
33
21ddb4118b6c Edition 3 - now copes well in user and system state
boisy
parents: 1995
diff changeset
34 noice_mpi: noice.asm
21ddb4118b6c Edition 3 - now copes well in user and system state
boisy
parents: 1995
diff changeset
35 $(AS) $(ASOUT)$@ $< -aLevel=1 $(AFLAGS) -aMPI=1
1995
2bb2f8b975b0 additional preliminary changes made by R. Gault
boisy
parents: 1978
diff changeset
36
1978
c2d3c4232663 Added remote debugging
boisy
parents:
diff changeset
37 clean:
2004
ae5e9b0aded6 Further updates
boisy
parents: 2003
diff changeset
38 $(RM) calldbg krnp3_6309 krnp3_6809 krnp3_6309_mpi krnp3_6809_mpi noice noice_mpi