source: trunk/libtransmission/Makefile @ 204

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 
1include ../Makefile.config
2include ../Makefile.common
3
4SRCS = 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
7OBJS = $(SRCS:%.c=%.o)
8
9CFLAGS += -D__TRANSMISSION__
10
11libtransmission.a: $(OBJS)
12        @echo "Library $@"
13        @ar ru $@ $(OBJS)
14        @ranlib $@
15
16%.o: %.c ../Makefile.config ../Makefile.common Makefile
17        $(CC_RULE)
18
19clean:
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.