]> git.rm.cloudns.org Git - xonotic/gmqcc.git/commitdiff
make track=no adds -DNOTRACK WARNING: do not compile only parts of the code with...
authorWolfgang (Blub) Bumiller <blub@speed.at>
Wed, 22 Aug 2012 10:38:16 +0000 (12:38 +0200)
committerWolfgang (Blub) Bumiller <blub@speed.at>
Wed, 22 Aug 2012 10:38:16 +0000 (12:38 +0200)
Makefile

index cafa0c89f7ef55ae10b553bfbcd23d170335edef..c30f5dc8d8081edbb878e783ad38c87d34695c9f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -16,6 +16,10 @@ ifeq ($(CC), clang)
                -Wno-format-nonliteral
 
 endif
+ifeq ($(track), no)
+    CFLAGS += -DNOTRACK
+endif
+
 OBJ     = \
           util.o      \
           code.o      \