diff options
author | Erich Eckner <git@eckner.net> | 2016-10-18 13:17:06 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2016-10-18 13:17:06 +0200 |
commit | d0e8d3b3a7dc1257cf67bab904273091af7a9323 (patch) | |
tree | b2aa564104101f6f59e523fc1dbbf006ea1e26a6 | |
parent | 985a61dd79f4f275725f67486cc81398ee67ac65 (diff) | |
download | Bewegungsmelder-d0e8d3b3a7dc1257cf67bab904273091af7a9323.tar.xz |
-rw-r--r-- | Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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 |