Browse Source

Update Makefile

corrected file location for "raylib.rc.data", which will cause an error during compilation
XiaochuanWang 6 years ago
parent
commit
391555a063
1 changed files with 2 additions and 2 deletions
  1. 2 2
      games/Makefile

+ 2 - 2
games/Makefile

@@ -27,7 +27,7 @@
 PROJECT_NAME       ?= raylib_examples
 RAYLIB_VERSION     ?= 2.5.0
 RAYLIB_API_VERSION ?= 2
-RAYLIB_PATH        ?= D:\GitHub\raylib
+RAYLIB_PATH        ?= ..
 
 # Define default options
 
@@ -200,7 +200,7 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP)
     ifeq ($(PLATFORM_OS),WINDOWS)
         # resource file contains windows executable icon and properties
         # -Wl,--subsystem,windows hides the console window
-        CFLAGS += $(RAYLIB_PATH)/raylib.rc.data -Wl,--subsystem,windows
+        CFLAGS += $(RAYLIB_PATH)/src/raylib.rc.data -Wl,--subsystem,windows
     endif
     ifeq ($(PLATFORM_OS),LINUX)
         ifeq ($(RAYLIB_LIBTYPE),STATIC)