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 | |
---|
3 | include ../mk/config.mk |
---|
4 | include ../mk/common.mk |
---|
5 | |
---|
6 | SRCS = TRApplication.cpp TRWindow.cpp TRTransfer.cpp \ |
---|
7 | TRPrefsWindow.cpp TRInfoWindow.cpp |
---|
8 | OBJS = $(SRCS:%.cpp=%.o) |
---|
9 | |
---|
10 | CXXFLAGS += -I../libtransmission |
---|
11 | LDFLAGS += ../libtransmission/libtransmission.a |
---|
12 | CXXFLAGS += -IlibPrefs |
---|
13 | LDFLAGS += -lbe -ltracker libPrefs/libPrefs.a |
---|
14 | |
---|
15 | Transmission: $(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 | |
---|
23 | clean: |
---|
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 | |
---|
30 | install: |
---|
31 | @true |
---|
32 | |
---|
33 | -include .depend |
---|
Note: See
TracBrowser
for help on using the repository browser.