diff options
author | Keith Packard <keithp@keithp.com> | 2011-03-06 21:59:08 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2011-03-16 15:57:37 -0700 |
commit | 1e56ed44e562f808addfd76bfb352f981db94094 (patch) | |
tree | 9b735cd07bb964e87b6254076394b143ceb72e28 /src/test | |
parent | e339ffd8bd8b9e3f4758017ba355028000cb612e (diff) |
altos/test: Add baro-only flight test program
This builds the flight code in baro-only mode for testing.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/Makefile | 7 |
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 $@ $< |