source: trunk/cli/Makefile @ 260

Last change on this file since 260 was 260, checked in by titer, 16 years ago

Added $Id$ keywords and updated a few headers

File size: 703 bytes
Line 
1# $Id$
2
3include ../Makefile.config
4include ../Makefile.common
5
6SRCS = transmissioncli.c
7OBJS = $(SRCS:%.c=%.o)
8
9CFLAGS  += -I../libtransmission
10LDFLAGS += ../libtransmission/libtransmission.a
11
12all: transmissioncli
13        @true
14
15transmissioncli: $(OBJS) ../libtransmission/libtransmission.a
16        $(LINK_RULE)
17
18%.o: %.c ../Makefile.config ../Makefile.common Makefile
19        $(CC_RULE)
20
21clean:
22        @echo "Clean transmissioncli"
23        @$(RM) transmissioncli
24        @echo "Clean $(OBJS)"
25        @$(RM) $(OBJS)
26
27.depend: $(SRCS) ../Makefile.config ../Makefile.common Makefile
28        $(DEP_RULE)
29
30install: install-bin install-man
31
32install-bin: transmissioncli
33        $(INSTALL_BIN_RULE)
34
35install-man: transmissioncli.1
36        $(INSTALL_MAN_RULE)
37
38-include .depend
Note: See TracBrowser for help on using the repository browser.