aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAhmad Fatoum <ahmad@a3f.at>2019-05-17 20:24:01 +0200
committerAhmad Fatoum <ahmad@a3f.at>2019-05-17 20:27:43 +0200
commit5ef7beb0c509b61d2ccc913360fea4c446ff4d4c (patch)
treef67e5211109338d785a3e1526e55499193e66bde /src
parente1ecebfff91bec7621ca180cd92f7a2789e47ee0 (diff)
downloadraylib-5ef7beb0c509b61d2ccc913360fea4c446ff4d4c.tar.gz
raylib-5ef7beb0c509b61d2ccc913360fea4c446ff4d4c.zip
Makefile: move -x objective-c option before filename
From the Clang documentation[1]: > -x<language>, --language <arg>, --language=<arg> > Treat subsequent input files as having type <language> Follow the advice. Fixes #840. [1]: https://clang.llvm.org/docs/ClangCommandLineReference.html
Diffstat (limited to 'src')
-rw-r--r--src/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index 379b5635..24d12ec7 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -508,7 +508,7 @@ core.o : core.c raylib.h rlgl.h utils.h raymath.h camera.h gestures.h
# Compile rglfw module
rglfw.o : rglfw.c
- $(CC) -c $< $(CFLAGS) $(GLFW_CFLAGS) $(INCLUDE_PATHS) -D$(PLATFORM) -D$(GRAPHICS)
+ $(CC) $(CFLAGS) $(GLFW_CFLAGS) -c $< $(INCLUDE_PATHS) -D$(PLATFORM) -D$(GRAPHICS)
# Compile shapes module
shapes.o : shapes.c raylib.h rlgl.h