diff --git a/Makefile b/Makefile index 7074a9f..9e3a80d 100644 --- a/Makefile +++ b/Makefile @@ -185,7 +185,7 @@ $(BASE)/.build/%.o: $(CURDIR)/src/%.txt $(BASE)/.build/.%.dep: -avrdude: $(BASE)/bin/$(FINALNAME).hex +avrdude: build $(BASE)/bin/$(FINALNAME).hex $(AVRDUDE) -v -c $(AVR_PROG) -p $(AVR_MCU) -P $(AVR_PORT) -B $(AVR_BITCLK) $(AVRDUDE_OPERATIONS) -U flash:w:$(BASE)/bin/$(FINALNAME).hex include $(wildcard $(MODULEDEPS))