source: trunk/libtransmission/Makefile @ 198

Last change on this file since 198 was 198, checked in by titer, 16 years ago

Nicer make output. Also moved the CLI client to its own folder like
other interfaces.

File size: 624 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
27include .depend
Note: See TracBrowser for help on using the repository browser.