summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Jung <flo@windfisch.org>2014-04-05 18:08:46 +0200
committerFlorian Jung <flo@windfisch.org>2014-04-05 18:08:46 +0200
commit02edc6fdbb4f60e596385596633c1655a99b4620 (patch)
treea09a72893ff439d859fd6f1861fecfe971cd104f
parent743334dfb8a223e612f39d7f69b6001001fac430 (diff)
Makefile: flash target
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2bbd104..f3dd98b 100644
--- a/Makefile
+++ b/Makefile
@@ -426,6 +426,7 @@ gccversion :
# Program the device.
+flash: program
program: $(TARGET).hex $(TARGET).eep
$(AVRDUDE) $(AVRDUDE_FLAGS) $(AVRDUDE_WRITE_FLASH)
$(AVRDUDE_WRITE_EEPROM)
@@ -594,4 +595,4 @@ clean_list :
# Listing of phony targets.
.PHONY : all begin finish end sizebefore sizeafter gccversion \
build elf hex eep lss sym coff extcoff \
-clean clean_list program debug gdb-config
+clean clean_list flash program debug gdb-config