From 780dea11866ff5012f5e7f6427bd4cba16e85d06 Mon Sep 17 00:00:00 2001 From: Michael Moon Date: Mon, 21 Feb 2011 19:09:08 +1100 Subject: [PATCH] avr-libc's math is smaller than gcc's, use it --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 9bc1430..38e79e7 100644 --- a/Makefile +++ b/Makefile @@ -107,6 +107,7 @@ OPTIMIZE = -Os -ffunction-sections -finline-functions-called-once -mcall-prologu # OPTIMIZE = -O0 CFLAGS = -g -Wall -Wstrict-prototypes $(OPTIMIZE) -mmcu=$(MCU_TARGET) $(DEFS) -std=gnu99 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -save-temps LDFLAGS = -Wl,--as-needed -Wl,--gc-sections +LIBS = -lm OBJ = $(patsubst %.c,%.o,${SOURCES})