summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index ee9c0a5..13c9bbc 100644
--- a/Makefile
+++ b/Makefile
@@ -53,6 +53,8 @@ build/main.elf: ${OBJECTS}
@echo
@avr-size --format=avr --mcu=${MCU} $@
+flash: program
+
program: build/main.hex #main.eep
${AVRFLASH} -p ${MCU} -c ${AVRDUDE_PROGRAMMER} ${AVRFLAGS}