altos: Switch telemetrum over to kalman filter
[fw/altos] / src / test / Makefile
1 vpath % ..
2 vpath % ../kalman
3
4 PROGS=ao_flight_test ao_flight_test_baro ao_flight_test_accel ao_gps_test ao_gps_test_skytraq ao_convert_test
5
6 CFLAGS=-I.. -I.
7
8 all: $(PROGS)
9
10 clean:
11         rm -f $(PROGS)
12
13 install:
14
15 ao_flight_test: ao_flight_test.c ao_host.h ao_flight.c altitude.h ao_kalman.h
16         cc -g -o $@ $<
17
18 ao_flight_test_baro: ao_flight_test.c ao_host.h ao_flight.c altitude.h ao_kalman.h
19         cc -g -o $@ -DHAS_ACCEL=0 ../ao_flight_test.c
20
21 ao_flight_test_accel: ao_flight_test.c ao_host.h ao_flight.c altitude.h ao_kalman.h
22         cc -g -o $@ -DFORCE_ACCEL=1 ../ao_flight_test.c
23
24 ao_gps_test: ao_gps_test.c ao_gps_sirf.c ao_gps_print.c ao_host.h
25         cc -g -o $@ $<
26
27 ao_gps_test_skytraq: ao_gps_test_skytraq.c ao_gps_skytraq.c ao_gps_print.c ao_host.h
28         cc -g -o $@ $<
29
30 ao_convert_test: ao_convert_test.c ao_convert.c altitude.h
31         cc -g -o $@ $<
32
33 ../ao_kalman.h: make-kalman kalman.5c kalman_filter.5c load_csv.5c matrix.5c
34         sh $< > $@