annotate 3rdparty/drivers/sdisk/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 53c50c807d55
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: 1363
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: 1363
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: 1363
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: 1363
diff changeset
4 include $(NITROS9DIR)/rules.mak
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
5
1363
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 311
diff changeset
6 DEPENDS = ./makefile
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
7
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
8 DRIVERS = sdisk.dr
311
2ecb9f08c113 Added DD descriptors, d2 and d3 descriptors
boisy
parents: 278
diff changeset
9 DESCS = ddd0_35s.dd d0_35s.dd ddd0_40d.dd d0_40d.dd ddd0_80d.dd d0_80d.dd \
2ecb9f08c113 Added DD descriptors, d2 and d3 descriptors
boisy
parents: 278
diff changeset
10 d1_35s.dd d1_40d.dd d1_80d.dd d2_35s.dd d2_40d.dd d2_80d.dd \
2ecb9f08c113 Added DD descriptors, d2 and d3 descriptors
boisy
parents: 278
diff changeset
11 d3_35s.dd
207
347828fbd427 Added additional programs that came with SDisk + Bootfix
boisy
parents: 0
diff changeset
12 PROGRAMS = bootfix
347828fbd427 Added additional programs that came with SDisk + Bootfix
boisy
parents: 0
diff changeset
13 ALLOBJS = $(DRIVERS) $(DESCS) $(PROGRAMS)
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
14
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
15 all: $(ALLOBJS) $(DEPENDS)
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
16
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
17 clean:
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
18 $(RM) $(ALLOBJS)
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
19