1 |
douglas |
1 |
# Steering Wheel Remote |
2 |
|
|
# |
3 |
|
|
# Douglas Thrift |
4 |
|
|
# |
5 |
|
|
# $Id$ |
6 |
|
|
|
7 |
douglas |
2 |
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 |
douglas |
1 |
all: SteeringWheelRemote |
15 |
|
|
|
16 |
douglas |
2 |
SteeringWheelRemote: SteeringWheelRemote.cpp |
17 |
|
|
$(MAKE) -C $(common) |
18 |
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@ $+ $(LOADLIBES) $(LDLIBS) |
19 |
|
|
|
20 |
douglas |
1 |
clean: |
21 |
douglas |
2 |
rm -f SteeringWheelRemote *.core *.d |