2006-04-04 20:23:19 +00:00
|
|
|
include ../Makefile.config
|
|
|
|
include ../Makefile.common
|
|
|
|
|
|
|
|
SRCS = transmissioncli.c
|
|
|
|
OBJS = $(SRCS:%.c=%.o)
|
|
|
|
|
|
|
|
CFLAGS += -I../libtransmission
|
|
|
|
LDFLAGS += ../libtransmission/libtransmission.a
|
|
|
|
|
2006-04-10 09:13:15 +00:00
|
|
|
transmissioncli: $(OBJS) ../libtransmission/libtransmission.a
|
2006-04-04 20:23:19 +00:00
|
|
|
$(LINK_RULE)
|
|
|
|
|
|
|
|
%.o: %.c ../Makefile.config ../Makefile.common Makefile
|
|
|
|
$(CC_RULE)
|
|
|
|
|
|
|
|
clean:
|
|
|
|
@echo "Clean transmissioncli"
|
|
|
|
@$(RM) transmissioncli
|
|
|
|
@echo "Clean $(OBJS)"
|
|
|
|
@$(RM) $(OBJS)
|
|
|
|
|
|
|
|
.depend: $(SRCS) ../Makefile.config ../Makefile.common Makefile
|
|
|
|
$(DEP_RULE)
|
|
|
|
|
2006-04-05 09:45:09 +00:00
|
|
|
-include .depend
|