Merge branch 'micropeak-1.1'
[fw/altos] / src / test / Makefile
index 44cee904ab642ee24d386fe37464966e6660a25f..0dcdc949318e54b0b50a3879815339efbb69e4cc 100644 (file)
@@ -29,7 +29,7 @@ ao_flight_test_accel: ao_flight_test.c ao_host.h ao_flight.c  ao_sample.c ao_kal
        cc $(CFLAGS) -o $@ -DFORCE_ACCEL=1 ao_flight_test.c
 
 ao_flight_test_mm: ao_flight_test.c ao_host.h ao_flight.c ao_sample.c ao_kalman.c $(INCS)
-       cc -DMEGAMETRUM=1 $(CFLAGS) -o $@ $<
+       cc -DMEGAMETRUM=1 $(CFLAGS) -o $@ $< -lm
 
 ao_gps_test: ao_gps_test.c ao_gps_sirf.c ao_gps_print.c ao_host.h
        cc $(CFLAGS) -o $@ $<