summaryrefslogtreecommitdiff
path: root/Makefile
blob: 63c29ed3b7580a4b046f1f8c799c975153fbbdcb (plain)
1
2
3
4
5
6
7
8
9
10
11
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 $< $@