Last change
on this file since 261 was
261,
checked in by titer, 17 years ago
|
Updated svn:keywords
|
-
Property svn:keywords set to
Date Rev Author Id
|
File size:
749 bytes
|
Line | |
---|
1 | # $Id: Makefile 261 2006-05-29 21:27:31Z titer $ |
---|
2 | |
---|
3 | include ../Makefile.config |
---|
4 | include ../Makefile.common |
---|
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 ../Makefile.config ../Makefile.common Makefile |
---|
21 | $(CXX) $(CXXFLAGS) -o $@ -c $< |
---|
22 | |
---|
23 | clean: |
---|
24 | $(RM) Transmission $(OBJS) |
---|
25 | |
---|
26 | .depend: $(SRCS) Makefile |
---|
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.