summaryrefslogtreecommitdiffhomepage
path: root/src/Makefile
diff options
context:
space:
mode:
authorraysan5 <[email protected]>2020-08-20 19:37:03 +0200
committerraysan5 <[email protected]>2020-08-20 19:37:03 +0200
commite785ca73b5a07faed1cff0bc6c4be67a60dfc33d (patch)
tree9a064f391815552bc9ca31ca70311f58c73e7f31 /src/Makefile
parent06ff1ce2aa80abd6db0e67c74a9466291216f4b2 (diff)
downloadraylib-e785ca73b5a07faed1cff0bc6c4be67a60dfc33d.tar.gz
raylib-e785ca73b5a07faed1cff0bc6c4be67a60dfc33d.zip
Review compilation parameter for objective C code on GLFW
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Makefile b/src/Makefile
index 54b8acff..4d5ba88a 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_OSX = -x objective-c
endif
ifeq ($(PLATFORM_OS),BSD)
# FreeBSD, OpenBSD, NetBSD, DragonFly default compiler
@@ -533,7 +533,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) $(GLFW_OSX) -c $< $(CFLAGS) $(INCLUDE_PATHS) -D$(PLATFORM) -D$(GRAPHICS)
# Compile shapes module
shapes.o : shapes.c raylib.h rlgl.h