]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - Makefile
Valgrind integration for our memory allocator.
[xonotic/gmqcc.git] / Makefile
index 6ba6a3474054a32c4e75b5ebbeb7b50d639ee790..c174b9185758665f5623cde60cd9c5d6a061bcb0 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -55,6 +55,7 @@ ifneq ("$(CYGWIN)", "")
        GMQCC     = gmqcc.exe
        TESTSUITE = testsuite.exe
        PAK       = gmqpak.exe
+       CFLAGS   += -DNVALGRIND
 else
 ifneq ("$(MINGW)", "")
        #nullify the common variables that
@@ -67,6 +68,7 @@ ifneq ("$(MINGW)", "")
        GMQCC     = gmqcc.exe
        TESTSUITE = testsuite.exe
        PAK       = gmqpak.exe
+       CFLAGS   += -DNVALGRIND
 else
        QCVM      = qcvm
        GMQCC     = gmqcc