1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-25 01:03:01 +00:00
transmission/beos/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

28 lines
723 B
Makefile

include ../Makefile.config
include ../Makefile.common
SRCS = TRApplication.cpp TRWindow.cpp TRTransfer.cpp \
TRPrefsWindow.cpp TRInfoWindow.cpp
OBJS = $(SRCS:%.cpp=%.o)
CXXFLAGS += -I../libtransmission
LDFLAGS += ../libtransmission/libtransmission.a
CXXFLAGS += -IlibPrefs
LDFLAGS += -lbe -ltracker libPrefs/libPrefs.a
Transmission: $(OBJS) Transmission.rsrc
$(CXX) -o $@ $(OBJS) $(LDFLAGS)
xres -o Transmission Transmission.rsrc
mimeset -f Transmission
%.o: %.cpp ../Makefile.config ../Makefile.common Makefile
$(CXX) $(CXXFLAGS) -o $@ -c $<
clean:
$(RM) Transmission $(OBJS)
.depend: $(SRCS) Makefile
$(RM) .depend
$(foreach SRC, $(SRCS), $(CXX) $(CXXFLAGS) -MM $(SRC) >> .depend;)
include .depend