Browse Source

Update Makefile

corrected file location for "raylib.rc.data", which will cause an error during compilation
pull/876/head
XiaochuanWang 5 years ago
committed by GitHub
parent
commit
391555a063
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      games/Makefile

+ 2
- 2
games/Makefile View File

@ -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)

Loading…
Cancel
Save