From 54f9598ef16c933fcfd0cddfa46fa3b7fa968113 Mon Sep 17 00:00:00 2001 From: Markus Hitter Date: Wed, 8 Sep 2010 16:20:58 +0200 Subject: [PATCH] Turn off the DEBUG flag by default for making the default build fit onto a '168. There's a commented line for turning it on easily. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f9b9e88..47ceb0c 100644 --- a/Makefile +++ b/Makefile @@ -39,7 +39,7 @@ OBJCOPY = $(ARCH)objcopy DEFS = -DF_CPU=$(F_CPU) # DEFS += "-DDEBUG=1" -OPTIMIZE = -Os -ffunction-sections -finline-functions-called-once -DDEBUG +OPTIMIZE = -Os -ffunction-sections -finline-functions-called-once # 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