[build] Updated examples/Makefile after testing on OSX (#6077)
* Updated examples/Makefile after testing on OSX I may be wrong, but the best way to install ray lib is through home-brew, and I'd expect that that should be a search path for others. * Update Makefile Fixed issues
This commit is contained in:
parent
6cceb2b873
commit
abe23bf82d
1 changed files with 4 additions and 1 deletions
|
|
@ -18,7 +18,7 @@
|
||||||
# > PLATFORM_DESKTOP_RGFW (RGFW backend):
|
# > PLATFORM_DESKTOP_RGFW (RGFW backend):
|
||||||
# - Windows (Win32, Win64)
|
# - Windows (Win32, Win64)
|
||||||
# - Linux (X11 desktop mode)
|
# - Linux (X11 desktop mode)
|
||||||
# - macOS/OSX (x64, arm64 (not tested))
|
# - macOS/OSX (x64, arm64)
|
||||||
# - Others (not tested)
|
# - Others (not tested)
|
||||||
# > PLATFORM_DESKTOP_WIN32 (native Win32):
|
# > PLATFORM_DESKTOP_WIN32 (native Win32):
|
||||||
# - Windows (Win32, Win64)
|
# - Windows (Win32, Win64)
|
||||||
|
|
@ -314,6 +314,9 @@ ifeq ($(TARGET_PLATFORM),PLATFORM_DESKTOP_GLFW)
|
||||||
ifeq ($(PLATFORM_OS),BSD)
|
ifeq ($(PLATFORM_OS),BSD)
|
||||||
LDFLAGS += -Lsrc -L$(RAYLIB_LIB_PATH)
|
LDFLAGS += -Lsrc -L$(RAYLIB_LIB_PATH)
|
||||||
endif
|
endif
|
||||||
|
ifeq ($(PLATFORM_OS),OSX)
|
||||||
|
LDFLAGS += -L/opt/homebrew/lib -L$(RAYLIB_LIB_PATH)
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
ifeq ($(TARGET_PLATFORM),PLATFORM_DESKTOP_SDL)
|
ifeq ($(TARGET_PLATFORM),PLATFORM_DESKTOP_SDL)
|
||||||
ifeq ($(PLATFORM_OS),WINDOWS)
|
ifeq ($(PLATFORM_OS),WINDOWS)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue