comparison 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
comparison
equal deleted inserted replaced
117:eecd2612a68e 118:bb0c946460f3
54 54
55 55
56 # Tune the lines below only if you know what you are doing: 56 # Tune the lines below only if you know what you are doing:
57 57
58 AVRDUDE = avrdude $(PROGRAMMER) 58 AVRDUDE = avrdude $(PROGRAMMER)
59 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 59 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
60 60
61 # symbolic targets: 61 # symbolic targets:
62 all: main.hex 62 all: main.hex
63 63
64 .c.o: 64 .c.o: