respect CPPFLAGS when debug compiling
This commit is contained in:
parent
746767571e
commit
5e488b2966
4
chad.mk
4
chad.mk
@ -14,6 +14,6 @@ VALGRIND:=valgrind
|
|||||||
VALGRIND.flags:=--track-origins=yes --leak-check=full --show-leak-kinds=all
|
VALGRIND.flags:=--track-origins=yes --leak-check=full --show-leak-kinds=all
|
||||||
|
|
||||||
chad_test:
|
chad_test:
|
||||||
${CLANG} ${D.versions} ${GCC.warnings} ${SRC} -o ${TARGET}
|
${CLANG} ${CPPFLAGS} ${D.versions} ${GCC.warnings} ${SRC} -o ${TARGET}
|
||||||
${GCC} ${D.versions} ${GCC.debug} ${GCC.warnings} ${SRC} -o ${TARGET}
|
${GCC} ${CPPFLAGS} ${D.versions} ${GCC.debug} ${GCC.warnings} ${SRC} -o ${TARGET}
|
||||||
${VALGRIND} ${VALGRIND.flags} $(shell pwd)/${TARGET} ${ARGS}
|
${VALGRIND} ${VALGRIND.flags} $(shell pwd)/${TARGET} ${ARGS}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user