X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=Makefile;h=0e23a92a3b9b204ec4af272c6bbe20e1cc8f119d;hb=26d43e650f1519d6a2edbee7b71abd14a5a8a139;hp=7c9bedee91a3b5e532a26aa0485a560ec0c03f8f;hpb=566dda6ad7dc59008f880b70f09be489addf6034;p=xonotic%2Fgmqcc.git diff --git a/Makefile b/Makefile index 7c9bede..0e23a92 100644 --- 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)