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