altos: Not all products have pins to control flash loader
[fw/altos] / src / telescience-v0.1 / Makefile
index 10e4a2a301e01f5600fa56f3270dcd6e111b7427..81054a7531ffc7d20c3ae7a45603cd7406e419d9 100644 (file)
@@ -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: