1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-24 00:34:04 +00:00
transmission/gtk/Makefile
Eric Petit 235255b8f0 Merge compat-10.2 branch. This adds Jaguar compatibility on OS X, and
completes the Jam -> Make/XCode switch. Hope it doesn't break too much.
2006-04-03 19:29:09 +00:00

23 lines
568 B
Makefile

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
LDFLAGS += $(LDFLAGS_GTK)
transmission-gtk: $(OBJS)
$(CC) -o $@ $(OBJS) ../libtransmission/libtransmission.a $(LDFLAGS)
%.o: %.c ../Makefile.config ../Makefile.common Makefile
$(CC) $(CFLAGS) -o $@ -c $<
clean:
$(RM) transmission-gtk $(OBJS)
.depend: $(SRCS) Makefile
$(RM) .depend
$(foreach SRC, $(SRCS), $(CC) -MM $(SRC) -D__TRANSMISSION__ >> .depend;)
include .depend