]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - Makefile
Actually allocate a nil-vector for nil
[xonotic/gmqcc.git] / Makefile
index 7c9bedee91a3b5e532a26aa0485a560ec0c03f8f..0e23a92a3b9b204ec4af272c6bbe20e1cc8f119d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -10,6 +10,7 @@ MINGW   = $(findstring MINGW32, $(UNAME))
 
 CC     ?= clang
 CFLAGS += -Wall -Wextra -I. -fno-strict-aliasing -fsigned-char
+CFLAGS += -DGMQCC_GITINFO="`git describe`"
 #turn on tons of warnings if clang is present
 # but also turn off the STUPID ONES
 ifeq ($(CC), clang)