source: trunk/cli/Makefile @ 198

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

Nicer make output. Also moved the CLI client to its own folder like
other interfaces.

File size: 490 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)
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
25include .depend
Note: See TracBrowser for help on using the repository browser.