diff options
author | Christian Koch <christian_koch@gmx.de> | 2012-05-06 15:29:24 +0200 |
---|---|---|
committer | Christian Koch <christian_koch@gmx.de> | 2012-05-06 15:29:24 +0200 |
commit | f7a48dc590f5e8bf2d6d9d92248734566c175cf2 (patch) | |
tree | b8c5f2f5b60ec9e39a5f3dd80566533ad74e86ea /Makefile | |
parent | f714cacefc9a04fbae7249cc4b707a27cedabc36 (diff) |
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -1,7 +1,7 @@ .PHONY: love flash love: sublab77.ihex -CFLAGS=-Wall -Wextra -pedantic -std=c99 -Os -DF_CPU=1000000 -mmcu=attiny26 +CFLAGS=-Wall -Wextra -pedantic -std=c99 -DF_CPU=1000000UL -Os -fshort-enums -fno-move-loop-invariants -fno-tree-loop-optimize -mmcu=attiny26 %.o: %.c avr-gcc $(CFLAGS) -c -o $@ $< @@ -16,4 +16,7 @@ sublab77.elf: clock.o dcf77.o lcd.o main.o timebase.o endif sublab77.ihex: sublab77.elf - objcopy -Oihex $^ $@ + avr-objcopy -Oihex $^ $@ + +clean: + rm *.o *.elf *.ihex |