From 061c27c092b3db7fcbfcbe7d512a30031636e53b Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 17 Oct 2016 21:03:11 +0200 Subject: compiles, but differs --- Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Makefile (limited to 'Makefile') 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 $< $@ -- cgit v1.2.3-70-g09d2