#
CC=sdcc
+ifndef VERSION
VERSION=$(shell git describe)
+endif
CFLAGS=--model-small --debug --opt-code-speed
install:
-ao_flight_test: ao_flight.c ao_flight_test.c
+ao_flight_test: ao_flight.c ao_flight_test.c ao_host.h
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 -lpthread
+ao_gps_test: ao_gps.c ao_gps_test.c ao_gps_print.c ao_host.h
+ cc -g -o $@ ao_gps_test.c