Skip to content

Commit e78e2dd

Browse files
committed
Fix Makefile typo
1 parent 74269f8 commit e78e2dd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

stm/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ CFLAGS = -I. -I$(PY_SRC) -I$(FATFSSRC) -I$(STMSRC) -Wall -ansi -std=gnu99 $(CFLA
2727

2828
#Debugging/Optimization
2929
ifeq ($(DEBUG), 1)
30-
CFLAGS = -O0 -ggdb
30+
CFLAGS += -O0 -ggdb
3131
else
32-
CFLAGS = -Os -DNDEBUG
32+
CFLAGS += -Os -DNDEBUG
3333
endif
3434

3535
LDFLAGS = --nostdlib -T stm32f405.ld

0 commit comments

Comments
 (0)