Update Makefile for MacOS build.
This commit is contained in:
1 parent
46b6f69e33
commit
7c0d5a0fe2
2 files changed
+4
-3
No files matched your search
@@ -20,8 +20,9 @@ FLAGS = -Wall -Wextra -ggdb -fno-caret-diagnostics -fno-show-column -Wno-missing
|
||||
|
||||
ifeq ($(DETECTED_OS),macos)
|
||||
INCLUDE = -I./sdl/include/
|
||||
LIBS = ./sdl/lib/arm_macos/libSDL2.a -lm
|
||||
FRAMEWORKS = -framework IOKit -framework Cocoa -framework OpenGL
|
||||
LIBS = ./sdl/lib/arm-macos/libSDL2.a -lm
|
||||
FRAMEWORKS = -framework Cocoa -framework IOKit -framework CoreAudio -framework AudioToolbox -framework ForceFeedback -framework Carbon -framework GameController -framework Metal -framework QuartzCore -framework CoreHaptics
|
||||
|
||||
else ifeq ($(DETECTED_OS),linux)
|
||||
INCLUDE = -I./sdl/include/
|
||||
LIBS = ./sdl/lib/x86_64-linux/libSDL2.a -lm -lX11
|
||||
|
||||
Reference in new issue
Block a user