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: seq.o |
12 |
|
13 |
# |
14 |
# Define targets for the seq.o |
15 |
# |
16 |
|
17 |
seq.o: $(OBJS) |
18 |
@ echo "linking seq.o for $(DST)" |
19 |
@ $(RM) $@ |
20 |
@ $(LD) -r $(OBJS) -o $@ |
21 |
|
22 |
# Non-portable version file generation - |
23 |
#$(SRC)/seqVersion.c: $(SRC)/Version $(SRCS) |
24 |
# csh $(SRC)/makeSeqVersion $(SRC)/Version > $(SRC)/seqVersion.c |
25 |
|
26 |
seqVersion.o: $(SRC)/seqVersion.c |
27 |
|
28 |
# |
29 |
# END of Makefile.target |
30 |
# |
31 |
# Dependency list for .o files - automatically generated!! |
32 |
# reference ./Makefile & ../Makefile.defaults |
33 |
# |
34 |
|