1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-25 01:03:01 +00:00
transmission/libtransmission/Makefile
Eric Petit bf7ce0a305 Started to switch to a Makefile-based build system (still very incomplete,
so the Jamfile are still there).
Set a few svn:ignore properties.
2006-03-07 20:23:40 +00:00

24 lines
602 B
Makefile

include ../Makefile.config
include ../Makefile.common
SRCS = transmission.c bencode.c net.c tracker.c peer.c inout.c \
metainfo.c sha1.c utils.c fdlimit.c clients.c completion.c \
platform.c ratecontrol.c choking.c
OBJS = $(SRCS:%.c=%.o)
CFLAGS += -D__TRANSMISSION__
libtransmission.a: $(OBJS)
libtool -static $(OBJS) -o $@
%.o: %.c ../Makefile.config ../Makefile.common Makefile
$(CC) $(CFLAGS) -o $@ -c $<
clean:
$(RM) libtransmission.a $(OBJS)
.depend: $(SRCS) Makefile
$(RM) .depend
$(foreach SRC, $(SRCS), $(CC) -MM $(SRC) -D__TRANSMISSION__ >> .depend;)
include .depend