File tree 1 file changed +7
-1
lines changed 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -201,7 +201,7 @@ RAYLIB_RELEASE_PATH ?= $(RAYLIB_PATH)/release/libs
201
201
# Define output directory for compiled library
202
202
ifeq ($(PLATFORM ) ,PLATFORM_DESKTOP)
203
203
ifeq ($(PLATFORM_OS),WINDOWS)
204
- RAYLIB_RELEASE_PATH = $(RAYLIB_PATH ) / release/ libs/ win32/ mingw32
204
+ RAYLIB_RELEASE_PATH = $(RAYLIB_PATH ) \ release\ libs\ win32\ mingw32
205
205
endif
206
206
ifeq ($(PLATFORM_OS),LINUX)
207
207
RAYLIB_RELEASE_PATH = $(RAYLIB_PATH ) /release/libs/linux
@@ -460,7 +460,13 @@ ifeq ($(PLATFORM_OS),LINUX)
460
460
endif
461
461
462
462
# Compile raylib library
463
+ # NOTE: Release directory is created if not exist
463
464
raylib : $(OBJS )
465
+ ifeq ($(PLATFORM_OS ) ,WINDOWS)
466
+ if not exist $(RAYLIB_RELEASE_PATH) mkdir $(RAYLIB_RELEASE_PATH)
467
+ else
468
+ mkdir -p $(RAYLIB_RELEASE_PATH)
469
+ endif
464
470
ifeq ($(PLATFORM ) ,PLATFORM_WEB)
465
471
# Compile raylib for web.
466
472
emcc -O1 $(OBJS) -o $(RAYLIB_RELEASE_PATH)/libraylib.bc
You can’t perform that action at this time.
0 commit comments