source: trunk/cli/Makefile @ 227

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

Re-link transmissioncli and transmission-gtk when libtransmission.a
has changed

File size: 528 bytes
Line 
1include ../Makefile.config
2include ../Makefile.common
3
4SRCS = transmissioncli.c
5OBJS = $(SRCS:%.c=%.o)
6
7CFLAGS  += -I../libtransmission
8LDFLAGS += ../libtransmission/libtransmission.a
9
10transmissioncli: $(OBJS) ../libtransmission/libtransmission.a
11        $(LINK_RULE)
12
13%.o: %.c ../Makefile.config ../Makefile.common Makefile
14        $(CC_RULE)
15
16clean:
17        @echo "Clean transmissioncli"
18        @$(RM) transmissioncli
19        @echo "Clean $(OBJS)"
20        @$(RM) $(OBJS)
21
22.depend: $(SRCS) ../Makefile.config ../Makefile.common Makefile
23        $(DEP_RULE)
24
25-include .depend
Note: See TracBrowser for help on using the repository browser.