From ffe81b4aa631ae2a32da19cb4ba64cc187b2c036 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sat, 8 Apr 2017 17:13:36 +0200 Subject: compiliert jetzt --- Makefile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..7c6c1e7 --- /dev/null +++ b/Makefile @@ -0,0 +1,17 @@ + +all: Fernbedienung.hex + +install: all + avrdude -c avrispmkII -p t24 -U flash:w:Fernbedienung.hex:i + +check: + avrdude -c avrispmkII -p t24 -U flash:v:Fernbedienung.hex:i + +%.o: %.asm *.inc + avr-as $< -mmcu=attiny24 -o $@ + +%.elf: %.o + avr-ld -o $@ $< + +%.hex: %.elf + avr-objcopy --output-target=ihex $< $@ -- cgit v1.2.3-70-g09d2