summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2012-01-15 19:41:36 +0100
committerDavid Lamparter <equinox@diac24.net>2012-01-15 19:41:56 +0100
commit73d3b9faf1d0ac88c52f4c7c2853da8d870f2581 (patch)
treeaf39521b2e4889fd0724d8e2c5c83184c4ff78cd /Makefile
parentd3dcf97e28cfeffe5d2e27a119077e12b61b2e7e (diff)
general cleanups
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: