mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-05 19:08:13 +00:00
Update Makefile
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user