Last change
on this file since 191 was
191,
checked in by titer, 16 years ago
|
Merge compat-10.2 branch. This adds Jaguar compatibility on OS X, and
completes the Jam -> Make/XCode switch. Hope it doesn't break too much.
|
File size:
591 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 | ar ru $@ $(OBJS) |
---|
13 | ranlib $@ |
---|
14 | |
---|
15 | %.o: %.c ../Makefile.config ../Makefile.common Makefile |
---|
16 | $(CC) $(CFLAGS) -o $@ -c $< |
---|
17 | |
---|
18 | clean: |
---|
19 | $(RM) libtransmission.a $(OBJS) |
---|
20 | |
---|
21 | .depend: $(SRCS) Makefile |
---|
22 | $(RM) .depend |
---|
23 | $(foreach SRC, $(SRCS), $(CC) -MM $(SRC) $(CFLAGS) >> .depend;) |
---|
24 | |
---|
25 | include .depend |
---|
Note: See
TracBrowser
for help on using the repository browser.