mirror of
https://github.com/transmission/transmission
synced 2024-12-23 16:24:02 +00:00
1cfe027fdb
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.
25 lines
608 B
Makefile
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
|