source: trunk/mk/beos.mk @ 620

Last change on this file since 620 was 265, checked in by titer, 16 years ago

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

  • Property svn:keywords set to Date Rev Author Id
File size: 779 bytes
Line 
1# $Id: beos.mk 265 2006-05-31 12:54:53Z titer $
2
3include ../mk/config.mk
4include ../mk/common.mk
5
6SRCS = TRApplication.cpp TRWindow.cpp TRTransfer.cpp \
7       TRPrefsWindow.cpp TRInfoWindow.cpp
8OBJS = $(SRCS:%.cpp=%.o)
9
10CXXFLAGS += -I../libtransmission
11LDFLAGS  += ../libtransmission/libtransmission.a
12CXXFLAGS += -IlibPrefs
13LDFLAGS  += -lbe -ltracker libPrefs/libPrefs.a
14
15Transmission: $(OBJS) Transmission.rsrc
16        $(CXX) -o $@ $(OBJS) $(LDFLAGS)
17        xres -o Transmission Transmission.rsrc
18        mimeset -f Transmission
19
20%.o: %.cpp ../mk/config.mk ../mk/common.mk ../mk/beos.mk
21        $(CXX) $(CXXFLAGS) -o $@ -c $<
22
23clean:
24        $(RM) Transmission $(OBJS)
25
26.depend: $(SRCS) ../mk/config.mk ../mk/common.mk ../mk/beos.mk
27        $(RM) .depend
28        $(foreach SRC, $(SRCS), $(CXX) $(CXXFLAGS) -MM $(SRC) >> .depend;)
29
30install:
31        @true
32
33-include .depend
Note: See TracBrowser for help on using the repository browser.