|
|
|
|
@ -3,7 +3,7 @@ CFLAGS += -save-temps
|
|
|
|
|
CFLAGS += -std=gnu99 -Wall # implements C99, for <util/atomic.h>
|
|
|
|
|
# this removes dead code and does global linker optimization
|
|
|
|
|
#CFLAGS += -ffunction-sections -Wl,--gc-sections -Wl,--relax
|
|
|
|
|
CFLAGS += -Wall -Os -I. -mmcu=atmega88
|
|
|
|
|
CFLAGS += -Wall -Os -I. -mmcu=atmega88 -lm -ffunction-sections -fdata-sections
|
|
|
|
|
|
|
|
|
|
# further optimization:
|
|
|
|
|
#CFLAGS += --param inline-call-cost=2
|
|
|
|
|
|