# | 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 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |