1 |
# |
2 |
# Makefile.target |
3 |
# |
4 |
# this file defines the default target and its components |
5 |
# for the current build directory; there must be a target |
6 |
# named 'user_target' (see Makefile.defaults) somewhere at |
7 |
# the head of the chain, otherwise there aren't really any |
8 |
# constraints ... |
9 |
# |
10 |
|
11 |
user_target:: platformSup |
12 |
|
13 |
ifeq ($(CPU),I80486) |
14 |
user_target:: taskMon.o pcioc.o |
15 |
|
16 |
pcioc.o: $(PCIOC_OBJS) |
17 |
@ echo "linking platformSup for $(DST)" |
18 |
@ $(RM) $@ |
19 |
@ $(LD) -r $(PCIOC_OBJS) -o $@ |
20 |
|
21 |
else |
22 |
user_target:: taskMon.o |
23 |
endif |
24 |
# |
25 |
# Define targets for the platformSup |
26 |
# |
27 |
|
28 |
platformSup: $(OBJS) |
29 |
@ echo "linking platformSup for $(DST)" |
30 |
@ $(RM) $@ |
31 |
@ $(LD) -r $(OBJS) -o $@ |
32 |
|
33 |
# |
34 |
# END of Makefile.target |
35 |
# |
36 |
# Dependency list for .o files - automatically generated!! |
37 |
# reference ./Makefile & ../Makefile.defaults |
38 |
# |
39 |
|