1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-30 11:36:07 +00:00
transmission/mk/cli.mk

36 lines
648 B
Makefile
Raw Normal View History

2006-07-16 19:39:23 +00:00
# $Id$
include ../mk/config.mk
include ../mk/common.mk
SRCS = transmissioncli.c
OBJS = $(SRCS:%.c=%.o)
2007-07-19 00:09:09 +00:00
CFLAGS += -I..
LDLIBS += ../libtransmission/libtransmission.a
2006-07-16 19:39:23 +00:00
transmissioncli: $(OBJS) ../libtransmission/libtransmission.a
$(LINK_RULE)
%.o: %.c ../mk/config.mk ../mk/common.mk ../mk/cli.mk
$(CC_RULE)
clean:
@echo "Clean transmissioncli"
@$(RM) transmissioncli
@echo "Clean $(OBJS)"
@$(RM) $(OBJS)
.depend: $(SRCS) ../mk/config.mk ../mk/common.mk ../mk/cli.mk
$(DEP_RULE)
install: install-bin install-man
install-bin: transmissioncli
$(INSTALL_BIN_RULE)
install-man: transmissioncli.1
$(INSTALL_MAN_RULE)
-include .depend