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

Comparing SteeringWheelRemote/GNUmakefile (file contents):
Revision 3 by douglas, 2007-04-26T01:51:35-07:00 vs.
Revision 4 by douglas, 2007-04-26T05:19:05-07:00

# Line 8 | Line 8 | common := $(shell realpath $(CURDIR)/../
8  
9   CPPFLAGS := -MD -I/usr/local/include -I$(common)
10   CXXFLAGS := -Wall -pedantic -g -O2
11 < LDFLAGS := -L/usr/local/lib
12 < LDLIBS := -lpcre
11 > LDFLAGS := -L/usr/local/lib -L$(common)
12 > LDLIBS := -lpcre -ltruck
13  
14   .PHONY: all clean
15  
16   all: SteeringWheelRemote
17  
18   SteeringWheelRemote: SteeringWheelRemote.cpp $(common)/libtruck.a
19 <        $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@ $+ $(LOADLIBES) $(LDLIBS)
19 >        $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@ $< $(LOADLIBES) $(LDLIBS)
20  
21   $(common)/libtruck.a: $(common)/posix.o $(common)/regex.o
22          $(MAKE) -C $(@D) $(@F)
23  
24 + -include *.d
25 +
26   clean:
27          rm -f SteeringWheelRemote *.core *.d

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines