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 |
ifeq ($(CPU),I80486) |
11 |
user_target: timeLib.o priv_timeLib.o |
12 |
else |
13 |
user_target: timeLib.o |
14 |
endif |
15 |
|
16 |
|
17 |
# |
18 |
# Define targets for the timeLib.o |
19 |
# |
20 |
|
21 |
timeLib.o: $(OBJS) |
22 |
@ echo "linking timeLib.o for $(DST)" |
23 |
@ $(RM) $@ |
24 |
@ $(LD) -r $(OBJS) -o $@ |
25 |
|
26 |
priv_timeLib.o: $(PRIV_OBJS) |
27 |
@ echo "linking priv_timeLib.o for $(DST)" |
28 |
@ $(RM) $@ |
29 |
@ $(LD) -r $(PRIV_OBJS) -o $@ |
30 |
|
31 |
# note: by making the special version dependent on the |
32 |
# standard, we inherit the dependencies. |
33 |
priv_ts_driv.o: ts_driv.o |
34 |
@ $(RM) priv_ts_driv.o |
35 |
$(CC) -DvxWorks -DV5_vxWorks -c $(CFLAGS) -DPRIV_AUDIT -o $@ $(SRC)/ts_driv.c |
36 |
|
37 |
# |
38 |
# END of Makefile.target |
39 |
# |
40 |
# Dependency list for .o files - automatically generated!! |
41 |
# reference ./Makefile & ../Makefile.defaults |
42 |
# |
43 |
|