From cf1217f5c1d6b3c11e315ec575a2711b493c8da6 Mon Sep 17 00:00:00 2001 From: Ray Date: Tue, 19 Aug 2025 10:36:56 +0200 Subject: [PATCH] Update Makefile --- tools/rexm/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/rexm/Makefile b/tools/rexm/Makefile index 4ac96a1ab..f5e7d1fe4 100644 --- a/tools/rexm/Makefile +++ b/tools/rexm/Makefile @@ -35,7 +35,7 @@ PROJECT_BUILD_PATH ?= . PROJECT_SOURCE_FILES ?= rexm.c # raylib library variables -RAYLIB_SRC_PATH ?= C:\raylib\raylib\src +RAYLIB_SRC_PATH ?= ..\..\src RAYLIB_INCLUDE_PATH ?= $(RAYLIB_SRC_PATH) RAYLIB_LIB_PATH ?= $(RAYLIB_SRC_PATH) @@ -205,7 +205,7 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP) LDFLAGS += $(PROJECT_NAME).rc.data # -Wl,--subsystem,windows hides the console window ifeq ($(BUILD_MODE), RELEASE) - LDFLAGS += -Wl,--subsystem,windows + #LDFLAGS += -Wl,--subsystem,windows endif endif ifeq ($(PLATFORM_OS),BSD) @@ -264,9 +264,9 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP) ifeq ($(PLATFORM_OS),WINDOWS) # Libraries for Windows desktop compilation # NOTE: WinMM library required to set high-res timer resolution - LDLIBS = -lraylib -lopengl32 -lgdi32 -lwinmm -lcomdlg32 -lole32 + LDLIBS = -lraylib -lopengl32 -lgdi32 -lwinmm # Required for physac examples - LDLIBS += -static -lpthread + #LDLIBS += -static -lpthread endif ifeq ($(PLATFORM_OS),LINUX) # Libraries for Debian GNU/Linux desktop compiling