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
@@ -31,11 +31,13 @@ love: kbc.flash kbc.eeprom
$(ACC) $(ACFLAGS) -c -o $@ $<
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
clean:
rm -f *.flash *.eeprom *.o
-.PHONY: love flash clean
+.PHONY: love flash eeprom clean
.SECONDARY: