summaryrefslogtreecommitdiffhomepage
path: root/examples/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'examples/Makefile')
-rw-r--r--examples/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/Makefile b/examples/Makefile
index becb91dc..64cec3d1 100644
--- a/examples/Makefile
+++ b/examples/Makefile
@@ -25,7 +25,7 @@
# Define required raylib variables
PROJECT_NAME ?= raylib_examples
-RAYLIB_VERSION ?= 1.9.7
+RAYLIB_VERSION ?= 2.0.0
RAYLIB_API_VERSION ?= 1
RAYLIB_PATH ?= ..
@@ -207,7 +207,7 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP)
ifeq ($(PLATFORM_OS),WINDOWS)
# resources file contains windows exe icon
# -Wl,--subsystem,windows hides the console window
- CFLAGS += $(RAYLIB_PATH)/src/resources -Wl,--subsystem,windows
+ CFLAGS += $(RAYLIB_PATH)/src/raylib_icon -Wl,--subsystem,windows
endif
ifeq ($(PLATFORM_OS),LINUX)
ifeq ($(RAYLIB_BUILD_MODE),DEBUG)
@@ -215,7 +215,7 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP)
#CC = clang
endif
ifeq ($(RAYLIB_LIBTYPE),STATIC)
- CFLAGS += -no-pie -D_DEFAULT_SOURCE
+ CFLAGS += -D_DEFAULT_SOURCE
endif
ifeq ($(RAYLIB_LIBTYPE),SHARED)
# Explicitly enable runtime link to libraylib.so