X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=src%2FMakefile;h=96049c65f11af939d736518695badd6554b4ec90;hp=297f676b6b27e740edb4e561a476d55a5b8cbf0d;hb=b34474c1f3083e73b7184d519f54d4c8031836fd;hpb=34f148500df427c148188c0ada20bf914a7c74ba diff --git a/src/Makefile b/src/Makefile index 297f676b..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 +ao_gps_test: ao_gps.c ao_gps_test.c ao_gps_print.c ao_host.h cc -g -o $@ ao_gps_test.c