Mercurial > templog
diff Makefile @ 118:bb0c946460f3
a bit more logging. make printf floats work
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sat, 06 Oct 2012 23:53:28 +0800 |
parents | 2ba9065e7c4f |
children |
line wrap: on
line diff
--- a/Makefile Fri Oct 05 22:48:49 2012 +0800 +++ b/Makefile Sat Oct 06 23:53:28 2012 +0800 @@ -56,7 +56,7 @@ # Tune the lines below only if you know what you are doing: AVRDUDE = avrdude $(PROGRAMMER) -COMPILE = avr-gcc -Wall -Os -DF_CPU=$(CLOCK) -mmcu=$(DEVICE) -g -std=c99 -mcall-prologues -fdata-sections -ffunction-sections -Wl,--gc-sections -Wl,--relax --combine -fwhole-program +COMPILE = avr-gcc -Wall -Os -DF_CPU=$(CLOCK) -mmcu=$(DEVICE) -g -std=c99 -mcall-prologues -fdata-sections -ffunction-sections -Wl,--gc-sections -Wl,--relax --combine -fwhole-program -Wl,-u,vfprintf -lprintf_flt -lm # symbolic targets: all: main.hex