X-Git-Url: https://jxself.org/git/?p=open-adventure.git;a=blobdiff_plain;f=Makefile;h=ed13d890f47ef9d5251dc1c8448c9e0b918dbf42;hp=a3535321be7aa31d4f0bdd3a630c007c44ea1058;hb=f34df0b8a224d371420da98a55c47e33acec0288;hpb=b736e3bc8e0f0ef9dbe4431f737eb2630fc2c68d diff --git a/Makefile b/Makefile index a353532..ed13d89 100644 --- a/Makefile +++ b/Makefile @@ -117,7 +117,12 @@ linty: CCFLAGS += -Winit-self linty: CCFLAGS += -Wpointer-arith linty: advent cheat -debug: CCFLAGS += -O0 --coverage -ggdb -U_FORTIFY_SOURCE +debug: CCFLAGS += -O0 +debug: CCFLAGS += --coverage +debug: CCFLAGS += -ggdb +debug: CCFLAGS += -U_FORTIFY_SOURCE +debug: CCFLAGS += -fsanitize=address +debug: CCFLAGS += -fsanitize=undefined debug: linty CSUPPRESSIONS = --suppress=missingIncludeSystem --suppress=invalidscanf