source: trunk/libtransmission/Makefile @ 191

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 
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        ar ru $@ $(OBJS)
13        ranlib $@
14
15%.o: %.c ../Makefile.config ../Makefile.common Makefile
16        $(CC) $(CFLAGS) -o $@ -c $<
17
18clean:
19        $(RM) libtransmission.a $(OBJS)
20
21.depend: $(SRCS) Makefile
22        $(RM) .depend
23        $(foreach SRC, $(SRCS), $(CC) -MM $(SRC) $(CFLAGS) >> .depend;)
24
25include .depend
Note: See TracBrowser for help on using the repository browser.