Mercurial > hg > Members > kono > nitros9-code
annotate lib/makefile @ 2887:a1296ceb6797
boot_scsi.asm: Remove misplaced # in CntrSlot FCB constant
author | Tormod Volden <debian.tormod@gmail.com> |
---|---|
date | Sun, 24 Nov 2013 17:03:01 +0100 |
parents | e4a0f58a5f9b |
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:
2533
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:
2533
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:
2533
diff
changeset
|
3 endif |
2328 | 4 include $(NITROS9DIR)/rules.mak |
5 | |
2533 | 6 SRC = os9defs.a scfdefs.a rbfdefs.a pipedefs.a systype.a net.a |
7 | |
8 all: sys6809l1.l sys6809l2.l sys6309l2.l net.l alib.l sys.zip | |
9 | |
10 sys.zip: $(SRC) | |
11 zip $@ $(SRC) | |
2328 | 12 |
13 sys6809l1.l: sys6809l1.a | |
14 | |
15 sys6809l2.l: sys6809l2.a | |
16 | |
17 sys6309l2.l: sys6309l2.a | |
18 | |
2474 | 19 net.l: net.a |
20 | |
21 alib.l: | |
2487 | 22 cd alib; make |
2474 | 23 |
2328 | 24 clean: |
2533 | 25 $(RM) *.l *.r *.zip |
2487 | 26 cd alib; make clean |