mirror of
https://github.com/transmission/transmission
synced 2024-12-25 09:13:06 +00:00
25 lines
491 B
Makefile
25 lines
491 B
Makefile
include ../Makefile.config
|
|
include ../Makefile.common
|
|
|
|
SRCS = transmissioncli.c
|
|
OBJS = $(SRCS:%.c=%.o)
|
|
|
|
CFLAGS += -I../libtransmission
|
|
LDFLAGS += ../libtransmission/libtransmission.a
|
|
|
|
transmissioncli: $(OBJS)
|
|
$(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)
|
|
|
|
-include .depend
|