]> git.gir.st - Chiptunes.git/blame_incremental - Makefile
add note about decision tree multiplication
[Chiptunes.git] / Makefile
... / ...
CommitLineData
1.PHONY: all clean flash
2CHIP ?= 9
3
4all: foo.elf
5
6foo.elf: foo.S
7 avr-gcc -Os -nostdlib -mmcu=attiny$(CHIP) -o $@ $<
8 avr-size -C --mcu=attiny$(CHIP) $@
9
10flash: foo.elf
11 avrdude -cusbasp -Pusb -pt$(CHIP) -Uflash:w:$<:e
12
13clean:
14 rm -f foo.elf
Imprint / Impressum