source: trunk/beos/Makefile @ 260

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

Added $Id$ keywords and updated a few headers

File size: 749 bytes
Line 
1# $Id$
2
3include ../Makefile.config
4include ../Makefile.common
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 ../Makefile.config ../Makefile.common Makefile
21        $(CXX) $(CXXFLAGS) -o $@ -c $<
22
23clean:
24        $(RM) Transmission $(OBJS)
25
26.depend: $(SRCS) Makefile
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.