فهرست منبع

Update Makefile

Ray 1 ماه پیش
والد
کامیت
cf1217f5c1
1فایلهای تغییر یافته به همراه4 افزوده شده و 4 حذف شده
  1. 4 4
      tools/rexm/Makefile

+ 4 - 4
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