From f7a48dc590f5e8bf2d6d9d92248734566c175cf2 Mon Sep 17 00:00:00 2001 From: Christian Koch Date: Sun, 6 May 2012 15:29:24 +0200 Subject: added hardware documentation, minor software changes --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 38b4e72..aa38b02 100644 --- a/Makefile +++ b/Makefile @@ -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 -- cgit v1.2.1