diff --git a/.vscode/launch.json b/.vscode/launch.json index 8f20541..2a2f8d8 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -6,7 +6,7 @@ "type": "lldb", "request": "launch", "env": { - "DEBUG": "1" + "DEBUG": "1", }, "program": "", "linux": { diff --git a/makefile b/makefile index e2c7f00..4f2025c 100644 --- a/makefile +++ b/makefile @@ -8,7 +8,7 @@ CFLAGS := $(shell pkg-config --cflags sdl2) -Wall -Wextra -Wpedantic -Wno-pointe LDFLAGS := $(shell pkg-config --libs sdl2) -lm ifeq ($(DEBUG),1) -CFLAGS += -DDEBUG -Og -g +CFLAGS += -DDEBUG -Og -g -fsanitize=address,undefined,leak,integer else REL_FLAGS += -O3 endif