Add debug flag to compile script

This commit is contained in:
Abdelrahman Said 2024-05-04 22:01:05 +01:00
parent 9312c0fb6b
commit cd698a3921

View File

@ -1,7 +1,7 @@
#!/bin/bash
CC=clang
CFLAGS="-g -Wall -Werror -pedantic -fsanitize=address -fsanitize=undefined"
CFLAGS="-g -Wall -Werror -pedantic -fsanitize=address -fsanitize=undefined -DDEBUG"
INCLUDES="\
-I$(find ./src -type d | xargs -I{} echo -n "-I{} ") \
$(find intern/wizapp/src -type d | xargs -I{} echo -n "-I{} ") \