summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSebastian Muszytowski <sebastian@muszytowski.net>2016-02-06 15:09:13 +0100
committerSebastian Muszytowski <sebastian@muszytowski.net>2016-02-06 15:09:13 +0100
commit6555c3d51587aba3bcb8e0a7e3614f7c2478b4f7 (patch)
tree1774cee74904797625aa14d2c7bdd6df9515c229 /Makefile
parent12bd67aad8ab427c1b1e5f13d108f4c05a8bd4e7 (diff)
add make target "flash" which points at program
Diffstat (limited to 'Makefile')
-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}