2006-07-16 19:39:23 +00:00
|
|
|
# $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
|
2006-09-28 16:04:06 +00:00
|
|
|
LDLIBS += ../libtransmission/libtransmission.a
|
2006-07-16 19:39:23 +00:00
|
|
|
CXXFLAGS += -IlibPrefs
|
2006-09-28 16:04:06 +00:00
|
|
|
LDFLAGS += -lbe -ltracker
|
|
|
|
LDLIBS += libPrefs/libPrefs.a
|
2006-07-16 19:39:23 +00:00
|
|
|
|
|
|
|
Transmission: $(OBJS) Transmission.rsrc
|
2006-09-28 16:04:06 +00:00
|
|
|
$(CXX) -o $@ $(OBJS) $(LDLIBS) $(LDFLAGS)
|
2006-07-16 19:39:23 +00:00
|
|
|
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
|