Use 57600 baud for GPS. Clean up gps init.
[fw/altos] / src / Makefile
index 3928136976259daf9bf8cce48de76183106d3a46..297f676b6b27e740edb4e561a476d55a5b8cbf0d 100644 (file)
@@ -181,7 +181,7 @@ SYM=$(REL:.rel=.sym)
 PROGS= telemetrum.ihx tidongle.ihx \
        teleterra.ihx teledongle.ihx
 
-HOST_PROGS=ao_flight_test
+HOST_PROGS=ao_flight_test ao_gps_test
 
 PCDB=$(PROGS:.ihx=.cdb)
 PLNK=$(PROGS:.ihx=.lnk)
@@ -250,6 +250,8 @@ $(TELEDONGLE_DEFS): ao-make-product.5c
 $(TIDONGLE_DEFS): ao-make-product.5c
        nickle ao-make-product.5c -m altusmetrum.org -p TIDongle -v $(VERSION) > $@
 
+distclean:     clean
+
 clean:
        rm -f $(ADB) $(ASM) $(LNK) $(LST) $(REL) $(RST) $(SYM)
        rm -f $(PROGS) $(PCDB) $(PLNK) $(PMAP) $(PMEM) $(PAOM)
@@ -260,3 +262,6 @@ install:
 
 ao_flight_test: ao_flight.c ao_flight_test.c
        cc -g -o $@ ao_flight_test.c
+
+ao_gps_test: ao_gps.c ao_gps_test.c ao_host.h
+       cc -g -o $@ ao_gps_test.c