source: trunk/mk/beos.mk @ 1505

Last change on this file since 1505 was 1505, checked in by bvarner, 15 years ago

Brought BeOS GUI up to date with latest libtransmission. There's still some optimization that could be performed here, but the GUI is working again, and better than before thanks to the internal changes on libtransmission.

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