1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-23 16:24:02 +00:00
transmission/gtk/Makefile
Josh Elsasser 1cfe027fdb 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.
2006-04-25 07:26:27 +00:00

25 lines
608 B
Makefile

include ../Makefile.config
include ../Makefile.common
SRCS = conf.c dialogs.c io.c ipc.c main.c trcellrenderertorrent.c util.c
OBJS = $(SRCS:%.c=%.o)
CFLAGS += $(CFLAGS_GTK) -I../libtransmission
LDFLAGS += $(LDFLAGS_GTK) ../libtransmission/libtransmission.a
transmission-gtk: $(OBJS) ../libtransmission/libtransmission.a
$(LINK_RULE)
%.o: %.c ../Makefile.config ../Makefile.common Makefile
$(CC_RULE)
clean:
@echo "Clean transmission-gtk"
@$(RM) transmission-gtk
@echo "Clean $(OBJS)"
@$(RM) $(OBJS)
.depend: $(SRCS) ../Makefile.config ../Makefile.common Makefile
$(DEP_RULE)
-include .depend