2006-07-16 19:39:23 +00:00
|
|
|
# $Id$
|
|
|
|
|
|
|
|
include ../mk/config.mk
|
|
|
|
include ../mk/common.mk
|
|
|
|
|
2007-03-05 07:15:17 +00:00
|
|
|
SRCS = TRApplication.cpp TRWindow.cpp TRTransfer.cpp \
|
|
|
|
TRPrefsWindow.cpp TRInfoWindow.cpp
|
2006-07-16 19:39:23 +00:00
|
|
|
OBJS = $(SRCS:%.cpp=%.o)
|
|
|
|
|
2007-03-05 07:15:17 +00:00
|
|
|
CXXFLAGS += -I../libtransmission -IlibPrefs
|
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
|
2007-03-05 07:15:17 +00:00
|
|
|
LDLIBS += libPrefs/libPrefs.a
|
2006-07-16 19:39:23 +00:00
|
|
|
|
2007-03-05 07:15:17 +00:00
|
|
|
Transmission: $(OBJS) ../libtransmission/libtransmission.a Transmission.rsrc
|
2007-03-05 03:40:05 +00:00
|
|
|
$(LINK_RULE_CXX)
|
|
|
|
$(XRES_RULE)
|
|
|
|
$(MIMESET_RULE)
|
2006-07-16 19:39:23 +00:00
|
|
|
|
|
|
|
%.o: %.cpp ../mk/config.mk ../mk/common.mk ../mk/beos.mk
|
2007-03-05 03:40:05 +00:00
|
|
|
$(CXX_RULE)
|
2006-07-16 19:39:23 +00:00
|
|
|
|
|
|
|
clean:
|
2007-03-05 03:40:05 +00:00
|
|
|
@echo "Clean Transmission"
|
|
|
|
@$(RM) Transmission
|
|
|
|
@echo "Clean $(OBJS)"
|
|
|
|
@$(RM) $(OBJS)
|
2006-07-16 19:39:23 +00:00
|
|
|
|
|
|
|
.depend: $(SRCS) ../mk/config.mk ../mk/common.mk ../mk/beos.mk
|
2007-03-05 03:40:05 +00:00
|
|
|
$(DEP_RULE_CXX)
|
2006-07-16 19:39:23 +00:00
|
|
|
|
|
|
|
install:
|
|
|
|
@true
|
|
|
|
|
|
|
|
-include .depend
|