altos: Reflect ao_flight split in ao_flight_test dependencies
authorKeith Packard <keithp@keithp.com>
Fri, 1 Apr 2011 03:51:15 +0000 (20:51 -0700)
committerKeith Packard <keithp@keithp.com>
Fri, 1 Apr 2011 03:51:15 +0000 (20:51 -0700)
Need to rebuild ao_flight_test when any of the flight sources change

Signed-off-by: Keith Packard <keithp@keithp.com>
src/test/Makefile

index 433f749b05c6f27a954821b24a9468e316056e52..33203ffd25c2d3980c6fccf5232db272ca73ad80 100644 (file)
@@ -12,13 +12,13 @@ clean:
 
 install:
 
-ao_flight_test: ao_flight_test.c ao_host.h ao_flight.c altitude.h ao_kalman.h
+ao_flight_test: ao_flight_test.c ao_host.h ao_flight.c ao_sample.c ao_kalman.c altitude.h ao_kalman.h
        cc -g -o $@ $<
 
-ao_flight_test_baro: ao_flight_test.c ao_host.h ao_flight.c altitude.h ao_kalman.h
+ao_flight_test_baro: ao_flight_test.c ao_host.h ao_flight.c  ao_sample.c ao_kalman.c altitude.h ao_kalman.h
        cc -g -o $@ -DHAS_ACCEL=0 ../ao_flight_test.c
 
-ao_flight_test_accel: ao_flight_test.c ao_host.h ao_flight.c altitude.h ao_kalman.h
+ao_flight_test_accel: ao_flight_test.c ao_host.h ao_flight.c  ao_sample.c ao_kalman.c altitude.h ao_kalman.h
        cc -g -o $@ -DFORCE_ACCEL=1 ../ao_flight_test.c
 
 ao_gps_test: ao_gps_test.c ao_gps_sirf.c ao_gps_print.c ao_host.h