Mercurial > templog
comparison Makefile @ 417:b73ea78317dc
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 | 4a04b63a6b4a |
children |
comparison
equal
deleted
inserted
replaced
416:99ef51dd1f61 | 417:b73ea78317dc |
---|---|
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: |