source: trunk/gtk/Makefile @ 242

Last change on this file since 242 was 242, checked in by joshe, 16 years ago

Add IPC code for another process to communicate with a running

transmission-gtk instance.

Try to add any filenames found on the command-line, using IPC if

transmission-gtk is already running.

Some minor code cleanups.
Remove lockfile on a normal exit, justfor the sake of being tidy.

File size: 608 bytes
Line 
1include ../Makefile.config
2include ../Makefile.common
3
4SRCS = conf.c dialogs.c io.c ipc.c main.c trcellrenderertorrent.c util.c
5OBJS = $(SRCS:%.c=%.o)
6
7CFLAGS  += $(CFLAGS_GTK) -I../libtransmission
8LDFLAGS += $(LDFLAGS_GTK) ../libtransmission/libtransmission.a
9
10transmission-gtk: $(OBJS) ../libtransmission/libtransmission.a
11        $(LINK_RULE)
12
13%.o: %.c ../Makefile.config ../Makefile.common Makefile
14        $(CC_RULE)
15
16clean:
17        @echo "Clean transmission-gtk"
18        @$(RM) transmission-gtk
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.