Last change
on this file since 134 was
134,
checked in by titer, 16 years ago
|
Started to switch to a Makefile-based build system (still very incomplete,
so the Jamfile are still there).
Set a few svn:ignore properties.
|
File size:
602 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 | libtool -static $(OBJS) -o $@ |
---|
13 | |
---|
14 | %.o: %.c ../Makefile.config ../Makefile.common Makefile |
---|
15 | $(CC) $(CFLAGS) -o $@ -c $< |
---|
16 | |
---|
17 | clean: |
---|
18 | $(RM) libtransmission.a $(OBJS) |
---|
19 | |
---|
20 | .depend: $(SRCS) Makefile |
---|
21 | $(RM) .depend |
---|
22 | $(foreach SRC, $(SRCS), $(CC) -MM $(SRC) -D__TRANSMISSION__ >> .depend;) |
---|
23 | |
---|
24 | include .depend |
---|
Note: See
TracBrowser
for help on using the repository browser.