Browse Source

Update Makefile

pull/5122/head
Ray 1 month ago
parent
commit
cf1217f5c1
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      tools/rexm/Makefile

+ 4
- 4
tools/rexm/Makefile View File

@ -35,7 +35,7 @@ PROJECT_BUILD_PATH ?= .
PROJECT_SOURCE_FILES ?= rexm.c PROJECT_SOURCE_FILES ?= rexm.c
# raylib library variables # raylib library variables
RAYLIB_SRC_PATH ?= C:\raylib\raylib\src
RAYLIB_SRC_PATH ?= ..\..\src
RAYLIB_INCLUDE_PATH ?= $(RAYLIB_SRC_PATH) RAYLIB_INCLUDE_PATH ?= $(RAYLIB_SRC_PATH)
RAYLIB_LIB_PATH ?= $(RAYLIB_SRC_PATH) RAYLIB_LIB_PATH ?= $(RAYLIB_SRC_PATH)
@ -205,7 +205,7 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP)
LDFLAGS += $(PROJECT_NAME).rc.data LDFLAGS += $(PROJECT_NAME).rc.data
# -Wl,--subsystem,windows hides the console window # -Wl,--subsystem,windows hides the console window
ifeq ($(BUILD_MODE), RELEASE) ifeq ($(BUILD_MODE), RELEASE)
nv">LDFLAGS += -Wl,--subsystem,windows
c1">#LDFLAGS += -Wl,--subsystem,windows
endif endif
endif endif
ifeq ($(PLATFORM_OS),BSD) ifeq ($(PLATFORM_OS),BSD)
@ -264,9 +264,9 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP)
ifeq ($(PLATFORM_OS),WINDOWS) ifeq ($(PLATFORM_OS),WINDOWS)
# Libraries for Windows desktop compilation # Libraries for Windows desktop compilation
# NOTE: WinMM library required to set high-res timer resolution # 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 # Required for physac examples
nv">LDLIBS += -static -lpthread
c1">#LDLIBS += -static -lpthread
endif endif
ifeq ($(PLATFORM_OS),LINUX) ifeq ($(PLATFORM_OS),LINUX)
# Libraries for Debian GNU/Linux desktop compiling # Libraries for Debian GNU/Linux desktop compiling

Loading…
Cancel
Save