2006-04-03 19:29:09 +00:00
|
|
|
include ../Makefile.config
|
|
|
|
include ../Makefile.common
|
|
|
|
|
|
|
|
SRCS = conf.c dialogs.c main.c trcellrenderertorrent.c util.c
|
|
|
|
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
|