optimize multiplication for space
[Chiptunes.git] / Makefile
CommitLineData
0883137f 1.PHONY: all clean flash
dd3193ab 2CHIP ?= 4
0883137f
TG
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