summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 3f0732f..a44356e 100644
--- a/Makefile
+++ b/Makefile
@@ -33,3 +33,5 @@ love: kbc.flash kbc.eeprom
flash: kbc.flash
- $(AVRDUDE) -y -p m48 -E noreset -U $^
+ $(AVRDUDE) -y -p m48 -E noreset -U flash:w:$<:r
+eeprom: kbc.eeprom
+ $(AVRDUDE) -y -p m48 -E noreset -U eeprom:w:$<:r
@@ -38,3 +40,3 @@ clean:
-.PHONY: love flash clean
+.PHONY: love flash eeprom clean
.SECONDARY: