From 6809380d3dea773ce3054402f91f105e75be0abf Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Mon, 29 May 2017 19:00:53 +0200 Subject: [PATCH] Accept external CFLAGS Some distributions build the programs with a specific set of CFLAGS. Lets allow that by adding raylibs flags. --- src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index 1eac71f6..6579d424 100644 --- a/src/Makefile +++ b/src/Makefile @@ -198,7 +198,7 @@ endif # -fgnu89-inline declaring inline functions support (GCC optimized) # -Wno-missing-braces ignore invalid warning (GCC bug 53119) # -D_DEFAULT_SOURCE use with -std=c99 -CFLAGS = -O1 -Wall -std=c99 -D_DEFAULT_SOURCE -fgnu89-inline -Wno-missing-braces +CFLAGS += -O1 -Wall -std=c99 -D_DEFAULT_SOURCE -fgnu89-inline -Wno-missing-braces ifeq ($(PLATFORM),PLATFORM_WEB) CFLAGS += -s USE_GLFW=3 -s ASSERTIONS=1 --profiling --preload-file resources