X-Git-Url: https://git.gag.com/?a=blobdiff_plain;ds=sidebyside;f=src%2FMakefile;h=96049c65f11af939d736518695badd6554b4ec90;hb=c8c5b7963babe8eb16e2651fba9cd2c8d1cba74e;hp=297f676b6b27e740edb4e561a476d55a5b8cbf0d;hpb=34f148500df427c148188c0ada20bf914a7c74ba;p=fw%2Faltos 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