X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Ftest%2FMakefile;h=308ecc729cf569f9b390a6104f59952549c342b6;hb=1d8cd79670181cb47087bc63ac3966d47698deb5;hp=088084303edc74cea9d6ff108e12a803aa63daa8;hpb=0d08ccda08cfffd92a58683349af257792ecfaf1;p=fw%2Faltos diff --git a/src/test/Makefile b/src/test/Makefile index 08808430..308ecc72 100644 --- a/src/test/Makefile +++ b/src/test/Makefile @@ -4,12 +4,16 @@ PROGS=ao_flight_test ao_flight_test_baro ao_flight_test_accel ao_flight_test_noi ao_flight_test_metrum ao_flight_test_mini \ ao_gps_test ao_gps_test_skytraq ao_gps_test_ublox ao_convert_test ao_convert_pa_test ao_fec_test \ ao_aprs_test ao_micropeak_test ao_fat_test ao_aes_test ao_int64_test \ - ao_ms5607_convert_test ao_quaternion_test ao_lisp_test + ao_ms5607_convert_test ao_quaternion_test ao_lisp_test \ + ao_make_fake_mm INCS=ao_kalman.h ao_ms5607.h ao_log.h ao_data.h altitude-pa.h altitude.h ao_quaternion.h ao_eeprom_read.h TEST_SRC=ao_flight_test.c TEST_SRC_ALL=ao_flight_test.c ao_eeprom_read.c ao_eeprom_read_old.c TEST_LIB=-ljson-c +FAKE_SRC_ALL=ao_make_fake.c ao_eeprom_read.c ao_eeprom_read_old.c +FAKE_SRC=ao_make_fake.c +FAKE_LIB=-ljson-c KALMAN=make-kalman @@ -43,6 +47,9 @@ ao_flight_test_metrum: $(TEST_SRC_ALL) ao_host.h ao_flight.c ao_sample.c ao_kalm ao_flight_test_mini: $(TEST_SRC_ALL) ao_host.h ao_flight.c ao_sample.c ao_kalman.c ao_pyro.c ao_pyro.h $(INCS) cc -DEASYMINI=1 -DHAS_ACCEL=0 $(CFLAGS) -o $@ $(TEST_SRC) $(TEST_LIB) -lm +ao_make_fake_mm: $(FAKE_SRC_ALL) ao_host.h ao_flight.c ao_sample.c ao_kalman.c ao_pyro.c ao_pyro.h $(INCS) + cc -DTELEMEGA=1 $(CFLAGS) -o $@ $(FAKE_SRC) $(FAKE_LIB) -lm + ao_gps_test: ao_gps_test.c ao_gps_sirf.c ao_gps_print.c ao_host.h cc $(CFLAGS) -o $@ $<