ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/truck/GPS/GNUmakefile
(Generate patch)

Comparing SteeringWheelRemote/GNUmakefile (file contents):
Revision 1 by douglas, 2007-04-25T18:29:45-07:00 vs.
Revision 2 by douglas, 2007-04-25T21:28:10-07:00

# Line 4 | Line 4
4   #
5   # $Id$
6  
7 + common := $(shell realpath $(CURDIR)/../Common)
8 +
9 + CPPFLAGS := -MD -I$(common)
10 + CXXFLAGS := -Wall -pedantic -g -O2
11 + LDFLAGS := -L$(common)
12 + LDLIBS := -ltruck
13 +
14   all: SteeringWheelRemote
15  
16 + SteeringWheelRemote: SteeringWheelRemote.cpp
17 +        $(MAKE) -C $(common)
18 +        $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@ $+ $(LOADLIBES) $(LDLIBS)
19 +
20   clean:
21 <        rm -f SteeringWheelRemote *.core
21 >        rm -f SteeringWheelRemote *.core *.d

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines