1 |
#$Id: Makefile.drvtarg,v 1.1 1994/04/22 15:52:12 steel Exp $ |
2 |
|
3 |
# |
4 |
# Makefile.target |
5 |
# !! special 'driver' version = Makefile.drvtarg |
6 |
# |
7 |
# this file defines the default target and its components |
8 |
# for the current build directory; there must be a target |
9 |
# named 'user_target' (see Makefile.defaults) somewhere at |
10 |
# the head of the chain, otherwise there aren't really any |
11 |
# constraints ... |
12 |
# |
13 |
|
14 |
user_target: $(CUR).o |
15 |
|
16 |
# |
17 |
# Define targets for the $(CUR).o |
18 |
# |
19 |
|
20 |
$(CUR).o: $(OBJS) |
21 |
@ echo "linking $(CUR).o for $(DST)" |
22 |
@ $(RM) $@ |
23 |
@ $(LD) -r $(OBJS) -o $@ |
24 |
|
25 |
# |
26 |
# END of Makefile.target |
27 |
# |
28 |
# Dependency list for .o files - automatically generated!! |
29 |
# reference ./Makefile & ../Makefile.defaults |
30 |
# |
31 |
|