X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Ftelescience-v0.1%2FMakefile;h=81054a7531ffc7d20c3ae7a45603cd7406e419d9;hb=224a1e01bacb7db0076129906ed58e1c785e1b14;hp=10e4a2a301e01f5600fa56f3270dcd6e111b7427;hpb=040a6eb119451026e1ec7c3a6a8e76b439c632d5;p=fw%2Faltos diff --git a/src/telescience-v0.1/Makefile b/src/telescience-v0.1/Makefile index 10e4a2a3..81054a75 100644 --- a/src/telescience-v0.1/Makefile +++ b/src/telescience-v0.1/Makefile @@ -14,6 +14,8 @@ LOADARG=-p $(DUDECPUTYPE) -c $(PROGRAMMER) -e -U flash:w: CC=avr-gcc OBJCOPY=avr-objcopy +LDFLAGS=-L/usr/lib/ldscripts -Tavr5.x + ifndef VERSION include ../Version endif @@ -105,7 +107,7 @@ ao_product.o: ao_product.c ao_product.h distclean: clean clean: - rm -f $(OBJ) + rm -f *.o $(PROG) $(PROG).hex rm -f ao_product.h install: