From 5ef7beb0c509b61d2ccc913360fea4c446ff4d4c Mon Sep 17 00:00:00 2001 From: Ahmad Fatoum Date: Fri, 17 May 2019 20:24:01 +0200 Subject: [PATCH] Makefile: move -x objective-c option before filename From the Clang documentation[1]: > -x, --language , --language= > Treat subsequent input files as having type Follow the advice. Fixes #840. [1]: https://clang.llvm.org/docs/ClangCommandLineReference.html --- src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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