summaryrefslogtreecommitdiffhomepage
path: root/src/Makefile
diff options
context:
space:
mode:
authorMichael Vetter <[email protected]>2017-05-29 19:00:53 +0200
committerMichael Vetter <[email protected]>2017-05-29 19:00:53 +0200
commit6809380d3dea773ce3054402f91f105e75be0abf (patch)
tree163ab8a492cf628628928a3541294da6b478a1ae /src/Makefile
parentd5c43099cdc727c255247529f11815e4bb5c0b0c (diff)
downloadraylib-6809380d3dea773ce3054402f91f105e75be0abf.tar.gz
raylib-6809380d3dea773ce3054402f91f105e75be0abf.zip
Accept external CFLAGS
Some distributions build the programs with a specific set of CFLAGS. Lets allow that by adding raylibs flags.
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile2
1 files changed, 1 insertions, 1 deletions
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