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.
This commit is contained in:
Markus Hitter 2010-09-08 16:20:58 +02:00
parent 0572687cb2
commit 54f9598ef1
1 changed files with 1 additions and 1 deletions

View File

@ -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