]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - Makefile
don't overwrite ldflags/libs env vars
[xonotic/gmqcc.git] / Makefile
index ff63173cdba2aa975e43c7b066c4232ecb6700e3..1da71d445a9e64489e43d931f6e74f36dd672800 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -11,8 +11,8 @@ MINGW   = $(findstring MINGW32, $(UNAME))
 
 CC      ?= clang
 # linker flags and optional additional libraries if required
-LDFLAGS :=
-LIBS    := -lm
+LDFLAGS +=
+LIBS    += -lm
 
 CFLAGS  += -Wall -Wextra -Werror -I. -fno-strict-aliasing $(OPTIONAL)
 ifneq ($(shell git describe --always 2>/dev/null),)