add undefined behavior sanitizer and address sanitizer to Makefile

This commit is contained in:
2023-07-06 14:57:29 +02:00
parent f822c400e5
commit a0e2f2d7df

View File

@@ -1,6 +1,6 @@
CC=gcc
EXT=.c
FLAGS=-O0 -g
FLAGS=-O0 -g -fsanitize=undefined -fsanitize=address
DEPFLAGS=-MD -MP
LIBS=$(shell pkg-config --libs xcb x11 xinerama)
EXEC_NAME=wm