2006-04-03 19:29:09 +00:00
|
|
|
include ../Makefile.config
|
|
|
|
include ../Makefile.common
|
|
|
|
|
2006-04-25 07:26:27 +00:00
|
|
|
SRCS = conf.c dialogs.c io.c ipc.c main.c trcellrenderertorrent.c util.c
|
2006-04-03 19:29:09 +00:00
|
|
|
OBJS = $(SRCS:%.c=%.o)
|
|
|
|
|
|
|
|
CFLAGS += $(CFLAGS_GTK) -I../libtransmission
|
2006-04-04 20:23:19 +00:00
|
|
|
LDFLAGS += $(LDFLAGS_GTK) ../libtransmission/libtransmission.a
|
2006-04-03 19:29:09 +00:00
|
|
|
|
2006-04-10 09:13:15 +00:00
|
|
|
transmission-gtk: $(OBJS) ../libtransmission/libtransmission.a
|
2006-04-04 20:23:19 +00:00
|
|
|
$(LINK_RULE)
|
2006-04-03 19:29:09 +00:00
|
|
|
|
|
|
|
%.o: %.c ../Makefile.config ../Makefile.common Makefile
|
2006-04-04 20:23:19 +00:00
|
|
|
$(CC_RULE)
|
2006-04-03 19:29:09 +00:00
|
|
|
|
|
|
|
clean:
|
2006-04-04 20:23:19 +00:00
|
|
|
@echo "Clean transmission-gtk"
|
|
|
|
@$(RM) transmission-gtk
|
|
|
|
@echo "Clean $(OBJS)"
|
|
|
|
@$(RM) $(OBJS)
|
2006-04-03 19:29:09 +00:00
|
|
|
|
2006-04-04 20:23:19 +00:00
|
|
|
.depend: $(SRCS) ../Makefile.config ../Makefile.common Makefile
|
|
|
|
$(DEP_RULE)
|
2006-04-03 19:29:09 +00:00
|
|
|
|
2006-04-05 09:45:09 +00:00
|
|
|
-include .depend
|