1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-27 18:18:10 +00:00
transmission/mk/beos.mk
Eric Petit e72c5580c6 Split and moved makefiles into a seperate folder, fixes and speed-up to
the retrieving of the SVN revision, OS X packages now show the revision
if this isn't a release build
2006-05-31 12:54:53 +00:00

33 lines
779 B
Makefile

# $Id$
include ../mk/config.mk
include ../mk/common.mk
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 ../mk/config.mk ../mk/common.mk ../mk/beos.mk
$(CXX) $(CXXFLAGS) -o $@ -c $<
clean:
$(RM) Transmission $(OBJS)
.depend: $(SRCS) ../mk/config.mk ../mk/common.mk ../mk/beos.mk
$(RM) .depend
$(foreach SRC, $(SRCS), $(CXX) $(CXXFLAGS) -MM $(SRC) >> .depend;)
install:
@true
-include .depend