Review compilation parameter for objective C code on GLFW
This commit is contained in:
parent
06ff1ce2aa
commit
e785ca73b5
1 changed files with 2 additions and 2 deletions
|
@ -221,7 +221,7 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP)
|
||||||
ifeq ($(PLATFORM_OS),OSX)
|
ifeq ($(PLATFORM_OS),OSX)
|
||||||
# OSX default compiler
|
# OSX default compiler
|
||||||
CC = clang
|
CC = clang
|
||||||
GLFW_CFLAGS = -x objective-c
|
GLFW_OSX = -x objective-c
|
||||||
endif
|
endif
|
||||||
ifeq ($(PLATFORM_OS),BSD)
|
ifeq ($(PLATFORM_OS),BSD)
|
||||||
# FreeBSD, OpenBSD, NetBSD, DragonFly default compiler
|
# 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
|
# Compile rglfw module
|
||||||
rglfw.o : rglfw.c
|
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
|
# Compile shapes module
|
||||||
shapes.o : shapes.c raylib.h rlgl.h
|
shapes.o : shapes.c raylib.h rlgl.h
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue