X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=src%2FMakefile;h=96049c65f11af939d736518695badd6554b4ec90;hp=812b195549974be8e34e7772830d6592d2776068;hb=b34474c1f3083e73b7184d519f54d4c8031836fd;hpb=0b35447d05a0c7eaf4fefcbcf0065fe3320bba82 diff --git a/src/Makefile b/src/Makefile index 812b1955..96049c65 100644 --- a/src/Makefile +++ b/src/Makefile @@ -4,7 +4,9 @@ # CC=sdcc +ifndef VERSION VERSION=$(shell git describe) +endif CFLAGS=--model-small --debug --opt-code-speed @@ -260,8 +262,8 @@ clean: 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