]> de.git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - Makefile
--version now prints GMQCC_GITINFO, which is not not defined in gmqcc.h to some empty...
[xonotic/gmqcc.git] / Makefile
index 52e7270fd66a705fe4e8c9b87f89791c4406a55d..1d8b1c42d38a8203728598ec78618ce419d58f95 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -10,7 +10,7 @@ MINGW   = $(findstring MINGW32, $(UNAME))
 
 CC     ?= clang
 CFLAGS += -Wall -Wextra -I. -fno-strict-aliasing -fsigned-char
-CFLAGS += -DGMQCC_GITINFO="`git describe`"
+CFLAGS += -DGMQCC_GITINFO="\"`git describe`\""
 #turn on tons of warnings if clang is present
 # but also turn off the STUPID ONES
 ifeq ($(CC), clang)