source: trunk/beos/Makefile @ 191

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

Merge compat-10.2 branch. This adds Jaguar compatibility on OS X, and
completes the Jam -> Make/XCode switch. Hope it doesn't break too much.

File size: 723 bytes
Line 
1include ../Makefile.config
2include ../Makefile.common
3
4SRCS = TRApplication.cpp TRWindow.cpp TRTransfer.cpp \
5       TRPrefsWindow.cpp TRInfoWindow.cpp
6OBJS = $(SRCS:%.cpp=%.o)
7
8CXXFLAGS += -I../libtransmission
9LDFLAGS  += ../libtransmission/libtransmission.a
10CXXFLAGS += -IlibPrefs
11LDFLAGS  += -lbe -ltracker libPrefs/libPrefs.a
12
13Transmission: $(OBJS) Transmission.rsrc
14        $(CXX) -o $@ $(OBJS) $(LDFLAGS)
15        xres -o Transmission Transmission.rsrc
16        mimeset -f Transmission
17
18%.o: %.cpp ../Makefile.config ../Makefile.common Makefile
19        $(CXX) $(CXXFLAGS) -o $@ -c $<
20
21clean:
22        $(RM) Transmission $(OBJS)
23
24.depend: $(SRCS) Makefile
25        $(RM) .depend
26        $(foreach SRC, $(SRCS), $(CXX) $(CXXFLAGS) -MM $(SRC) >> .depend;)
27
28include .depend
Note: See TracBrowser for help on using the repository browser.