aboutsummaryrefslogtreecommitdiff
path: root/unittests/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'unittests/Makefile')
-rw-r--r--unittests/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/unittests/Makefile b/unittests/Makefile
index 5faa50bb5..f25a56fc4 100644
--- a/unittests/Makefile
+++ b/unittests/Makefile
@@ -1,7 +1,7 @@
-CC=g++
+CC=$(CXX)
CFLAGS=-I. -I../src/modules -I ../src/include -I../src/drivers \
- -I../src -I../src/lib -D__EXPORT="" -Dnullptr="0" -lm
+ -I../src -I../src/lib -D__EXPORT="" -Dnullptr="0" -lm -std=c++11
# Points to the root of Google Test, relative to where this file is.
# Remember to tweak this if you move this file.
@@ -53,6 +53,8 @@ MIXER_FILES=../src/systemcmds/tests/test_mixer.cpp \
hrt.cpp \
mixer_test.cpp
+include ../src/modules/systemlib/mixer/multi_tables.mk
+
SBUS2_FILES=../src/modules/px4iofirmware/sbus.c \
hrt.cpp \
sbus2_test.cpp