diff --git a/Makefile b/Makefile index 20d09eb..1345032 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ robocup.elf: $(FILES:%=%.o) @avr-g++ -MM -mmcu=atmega32 -Os -MF $@ -MT $(patsubst %.cpp,%.o,$<) -MT $@ $< program: robocup.hex - sudo avrdude -P usb -c avrisp2 -p m32 -U $< + sudo avrdude -P usb -c avrisp2 -p m32 -U flash:w:$< clean: rm -f robocup.hex robocup.elf $(FILES:%=%.o) $(FILES:%=%.d)