ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/truck/SteeringWheelRemote/GNUmakefile
Revision: 4
Committed: 2007-04-26T05:19:05-07:00 (15 years, 5 months ago) by douglas
File size: 581 byte(s)
Log Message:
For certain definitions!

File Contents

# User Rev Content
1 douglas 1 # Steering Wheel Remote
2     #
3     # Douglas Thrift
4     #
5     # $Id$
6    
7 douglas 2 common := $(shell realpath $(CURDIR)/../Common)
8    
9 douglas 3 CPPFLAGS := -MD -I/usr/local/include -I$(common)
10 douglas 2 CXXFLAGS := -Wall -pedantic -g -O2
11 douglas 4 LDFLAGS := -L/usr/local/lib -L$(common)
12     LDLIBS := -lpcre -ltruck
13 douglas 2
14 douglas 3 .PHONY: all clean
15    
16 douglas 1 all: SteeringWheelRemote
17    
18 douglas 3 SteeringWheelRemote: SteeringWheelRemote.cpp $(common)/libtruck.a
19 douglas 4 $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@ $< $(LOADLIBES) $(LDLIBS)
20 douglas 2
21 douglas 3 $(common)/libtruck.a: $(common)/posix.o $(common)/regex.o
22     $(MAKE) -C $(@D) $(@F)
23    
24 douglas 4 -include *.d
25    
26 douglas 1 clean:
27 douglas 2 rm -f SteeringWheelRemote *.core *.d

Properties

Name Value
svn:keywords Id