Last change
on this file since 204 was
204,
checked in by joshe, 16 years ago
|
Don't print an error if the .depend files don't exist.
|
File size:
625 bytes
|
Line | |
---|
1 | include ../Makefile.config |
---|
2 | include ../Makefile.common |
---|
3 | |
---|
4 | SRCS = transmission.c bencode.c net.c tracker.c peer.c inout.c \ |
---|
5 | metainfo.c sha1.c utils.c fdlimit.c clients.c completion.c \ |
---|
6 | platform.c ratecontrol.c choking.c |
---|
7 | OBJS = $(SRCS:%.c=%.o) |
---|
8 | |
---|
9 | CFLAGS += -D__TRANSMISSION__ |
---|
10 | |
---|
11 | libtransmission.a: $(OBJS) |
---|
12 | @echo "Library $@" |
---|
13 | @ar ru $@ $(OBJS) |
---|
14 | @ranlib $@ |
---|
15 | |
---|
16 | %.o: %.c ../Makefile.config ../Makefile.common Makefile |
---|
17 | $(CC_RULE) |
---|
18 | |
---|
19 | clean: |
---|
20 | @echo "Clean libtransmission.a" |
---|
21 | @echo "Clean $(OBJS)" |
---|
22 | @$(RM) libtransmission.a $(OBJS) |
---|
23 | |
---|
24 | .depend: $(SRCS) ../Makefile.config ../Makefile.common Makefile |
---|
25 | $(DEP_RULE) |
---|
26 | |
---|
27 | -include .depend |
---|
Note: See
TracBrowser
for help on using the repository browser.