1 |
|
2 |
# |
3 |
# Makefile.target |
4 |
# |
5 |
# this file defines the default target and its components |
6 |
# for the current build directory; there must be a target |
7 |
# named 'user_target' (see Makefile.defaults) somewhere at |
8 |
# the head of the chain, otherwise there aren't really any |
9 |
# constraints ... |
10 |
# |
11 |
|
12 |
user_target: dbLib.o priv_dbLib.o newLogMsg.o |
13 |
|
14 |
# |
15 |
# Define targets for the dbLib |
16 |
# |
17 |
|
18 |
dbLib.o: $(OBJS) |
19 |
@ echo "linking dbLib.o for $(DST)" |
20 |
@ $(RM) $@ |
21 |
@ $(LD) -r $(OBJS) -o $@ |
22 |
|
23 |
priv_dbLib.o: $(PRIV_OBJS) |
24 |
@ echo "linking priv_dbLib.o for $(DST)" |
25 |
@ $(RM) $@ |
26 |
@ $(LD) -r $(PRIV_OBJS) -o $@ |
27 |
|
28 |
# note: by making the special version dependent on the |
29 |
# standard, we inherit the dependencies. |
30 |
priv_iocInit.o: iocInit.o |
31 |
@ $(RM) priv_iocInit.o |
32 |
$(CC) -DvxWorks -DV5_vxWorks -c $(CFLAGS) -DPRIV_AUDIT -o $@ $(SRC)/iocInit.c |
33 |
|
34 |
# |
35 |
# END of Makefile.target |
36 |
# |
37 |
# Dependency list for .o files - automatically generated!! |
38 |
# reference ./Makefile & ../Makefile.defaults |
39 |
# |
40 |
|