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:
parent
0572687cb2
commit
54f9598ef1
2
Makefile
2
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
|
||||
|
|
|
|||
Loading…
Reference in New Issue