summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'src/test')
-rw-r--r--src/test/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/test/Makefile b/src/test/Makefile
index cd9cafc8..853713fa 100644
--- a/src/test/Makefile
+++ b/src/test/Makefile
@@ -1,6 +1,6 @@
vpath % ..
-PROGS=ao_flight_test ao_gps_test ao_gps_test_skytraq ao_convert_test
+PROGS=ao_flight_test ao_flight_test_baro ao_gps_test ao_gps_test_skytraq ao_convert_test
CFLAGS=-I.. -I.
@@ -11,9 +11,12 @@ clean:
install:
-ao_flight_test: ao_flight_test.c ao_flight_test.c ao_host.h ao_flight.c altitude.h
+ao_flight_test: ao_flight_test.c ao_host.h ao_flight.c altitude.h
cc -g -o $@ $<
+ao_flight_test_baro: ao_flight_test.c ao_host.h ao_flight.c altitude.h
+ cc -g -o $@ -DHAS_ACCEL=0 ../ao_flight_test.c
+
ao_gps_test: ao_gps_test.c ao_gps_sirf.c ao_gps_print.c ao_host.h
cc -g -o $@ $<