altos/test: Add baro-only flight test program
[fw/altos] / src / test / Makefile
1 vpath % ..
2
3 PROGS=ao_flight_test ao_flight_test_baro ao_gps_test ao_gps_test_skytraq ao_convert_test
4
5 CFLAGS=-I.. -I.
6
7 all: $(PROGS)
8
9 clean:
10         rm -f $(PROGS)
11
12 install:
13
14 ao_flight_test: ao_flight_test.c ao_host.h ao_flight.c altitude.h
15         cc -g -o $@ $<
16
17 ao_flight_test_baro: ao_flight_test.c ao_host.h ao_flight.c altitude.h
18         cc -g -o $@ -DHAS_ACCEL=0 ../ao_flight_test.c
19
20 ao_gps_test: ao_gps_test.c ao_gps_sirf.c ao_gps_print.c ao_host.h
21         cc -g -o $@ $<
22
23 ao_gps_test_skytraq: ao_gps_test_skytraq.c ao_gps_skytraq.c ao_gps_print.c ao_host.h
24         cc -g -o $@ $<
25
26 ao_convert_test: ao_convert_test.c ao_convert.c altitude.h
27         cc -g -o $@ $<