respect CPPFLAGS when debug compiling

This commit is contained in:
anon 2023-08-24 19:17:49 +02:00
parent 746767571e
commit 5e488b2966

View File

@ -14,6 +14,6 @@ VALGRIND:=valgrind
VALGRIND.flags:=--track-origins=yes --leak-check=full --show-leak-kinds=all
chad_test:
${CLANG} ${D.versions} ${GCC.warnings} ${SRC} -o ${TARGET}
${GCC} ${D.versions} ${GCC.debug} ${GCC.warnings} ${SRC} -o ${TARGET}
${CLANG} ${CPPFLAGS} ${D.versions} ${GCC.warnings} ${SRC} -o ${TARGET}
${GCC} ${CPPFLAGS} ${D.versions} ${GCC.debug} ${GCC.warnings} ${SRC} -o ${TARGET}
${VALGRIND} ${VALGRIND.flags} $(shell pwd)/${TARGET} ${ARGS}