diff options
author | Erich Eckner <git@eckner.net> | 2016-10-17 21:03:11 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2016-10-17 21:03:11 +0200 |
commit | 061c27c092b3db7fcbfcbe7d512a30031636e53b (patch) | |
tree | 7814d25608f889f2615b1ffc0a89bee1b0ba47ae /Makefile | |
parent | f836382825ff9e1e01bc0e88eed88540c3a43354 (diff) | |
download | Bewegungsmelder-061c27c092b3db7fcbfcbe7d512a30031636e53b.tar.xz |
compiles, but differs
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..63c29ed --- /dev/null +++ b/Makefile @@ -0,0 +1,12 @@ + +all: Bewegungsmelder.hex + +%.o: %.asm *.inc + avr-as $< -mmcu=attiny24 -o $@ + +%.elf: %.o +# cat $< > $@ + avr-ld -o $@ $< + +%.hex: %.elf + avr-objcopy --output-target=ihex $< $@ |