summaryrefslogtreecommitdiffhomepage
path: root/src/Makefile
diff options
context:
space:
mode:
authorColleague Riley <[email protected]>2024-05-09 08:18:18 -0400
committerGitHub <[email protected]>2024-05-09 14:18:18 +0200
commit6ec925554cc5c5297d74b9867331fae421966519 (patch)
tree8156ad07c6eac05ecb3b91899e61de7ac3d0d11f /src/Makefile
parent1aa35591555ff3d0338e57d4ad320b437f52531b (diff)
downloadraylib-6ec925554cc5c5297d74b9867331fae421966519.tar.gz
raylib-6ec925554cc5c5297d74b9867331fae421966519.zip
Fix Makefile issues (RGFW) (linux) (macOS) (#3969)
Co-authored-by: ColleagueRiley <[email protected]>
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/Makefile b/src/Makefile
index 89d81627..23742565 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -592,12 +592,12 @@ endif
ifeq ($(PLATFORM),PLATFORM_DESKTOP_RGFW)
ifeq ($(PLATFORM_OS),WINDOWS)
# Libraries for Windows desktop compilation
- LDLIBS = ..\src\libraylib.a -lgdi32 -lwinmm -lopengl32
+ LDLIBS = -lgdi32 -lwinmm -lopengl32
endif
ifeq ($(PLATFORM_OS),LINUX)
# Libraries for Debian GNU/Linux desktop compipling
# NOTE: Required packages: libegl1-mesa-dev
- LDLIBS = ../src/libraylib.a -lGL -lX11 -lXrandr -lXinerama -lXi -lXxf86vm -lXcursor -lm -lpthread -ldl -lrt
+ LDLIBS = -lGL -lX11 -lXrandr -lXinerama -lXi -lXcursor -lm -lpthread -ldl -lrt
# Explicit link to libc
ifeq ($(RAYLIB_LIBTYPE),SHARED)
@@ -608,10 +608,9 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP_RGFW)
LDLIBS += -latomic
endif
ifeq ($(PLATFORM_OS),OSX)
- # Libraries for Debian GNU/Linux desktop compiling
+ # Libraries for Debian MacOS desktop compiling
# NOTE: Required packages: libegl1-mesa-dev
- LDLIBS = ../src/libraylib.a -lm
- LDLIBS += -framework Foundation -framework AppKit -framework OpenGL -framework CoreVideo
+ LDLIBS += -lm -framework Foundation -framework AppKit -framework OpenGL -framework CoreVideo
endif
endif