From 02edc6fdbb4f60e596385596633c1655a99b4620 Mon Sep 17 00:00:00 2001 From: Florian Jung Date: Sat, 5 Apr 2014 18:08:46 +0200 Subject: Makefile: flash target --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.1