summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2016-10-18 13:17:06 +0200
committerErich Eckner <git@eckner.net>2016-10-18 13:17:06 +0200
commitd0e8d3b3a7dc1257cf67bab904273091af7a9323 (patch)
treeb2aa564104101f6f59e523fc1dbbf006ea1e26a6 /Makefile
parent985a61dd79f4f275725f67486cc81398ee67ac65 (diff)
downloadBewegungsmelder-d0e8d3b3a7dc1257cf67bab904273091af7a9323.tar.xz
Lese- und Schreibziele in MakefileHEADmaster
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 63c29ed..bf8885e 100644
--- a/Makefile
+++ b/Makefile
@@ -1,11 +1,16 @@
all: Bewegungsmelder.hex
+install: all
+ avrdude -c avrispmkII -p t24 -U flash:w:Bewegungsmelder.hex:i
+
+check:
+ avrdude -c avrispmkII -p t24 -U flash:v:Bewegungsmelder.hex:i
+
%.o: %.asm *.inc
avr-as $< -mmcu=attiny24 -o $@
%.elf: %.o
-# cat $< > $@
avr-ld -o $@ $<
%.hex: %.elf