Q := @
endif
-OPT_FLAGS ?= -O2
+OPT_FLAGS ?= -Os
CFLAGS += -Wall -Wextra -Werror -Wno-char-subscripts\
$(OPT_FLAGS) -std=gnu99 -g3 -MD \
OPT_FLAGS = -Os
CFLAGS += -mcpu=cortex-m3 -mthumb \
- -DSTM32F1 -DDISCOVERY_STLINK -I../libopencm3/include \
+ -DSTM32F1 -DDISCOVERY_STLINK \
+ -I../libopencm3/include \
-I .
LDFLAGS_BOOT := $(LDFLAGS) --specs=nano.specs \
-lopencm3_stm32f1 -Wl,--defsym,_stack=0x20005000 \