1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-26 01:27:28 +00:00
transmission/beos/Makefile

29 lines
724 B
Makefile
Raw Normal View History

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