diff --git a/src/Makefile b/src/Makefile index 379b5635c..d41976098 100644 --- a/src/Makefile +++ b/src/Makefile @@ -221,7 +221,7 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP) ifeq ($(PLATFORM_OS),OSX) # OSX default compiler CC = clang - GLFW_CFLAGS = -x objective-c + GLFW_CFLAGS = -ObjC endif ifeq ($(PLATFORM_OS),BSD) # FreeBSD, OpenBSD, NetBSD, DragonFly default compiler