Update Makefile

corrected file location for "raylib.rc.data", which will cause an error during compilation
This commit is contained in:
XiaochuanWang
2019-06-09 01:45:51 +10:00
committed by GitHub
parent 59b7412772
commit 391555a063

View File

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