Update Makefile
This commit is contained in:
parent
e53330b6f4
commit
01638ccd27
8
Makefile
8
Makefile
@ -59,11 +59,11 @@ include: submodules
|
|||||||
ifeq ($(platform), Windows)
|
ifeq ($(platform), Windows)
|
||||||
-mkdir $(mkdirOptions) .\include
|
-mkdir $(mkdirOptions) .\include
|
||||||
-robocopy "vendor\raylib-cpp\vendor\raylib\src" "include" raylib.h
|
-robocopy "vendor\raylib-cpp\vendor\raylib\src" "include" raylib.h
|
||||||
if errorlevel gtr 7 exit errorlevel
|
cmd if errorlevel gtr 7 exit errorlevel
|
||||||
-robocopy "vendor\raylib-cpp\vendor\raylib\src" "include" raymath.h
|
-robocopy "vendor\raylib-cpp\vendor\raylib\src" "include" raymath.h
|
||||||
if errorlevel gtr 7 exit errorlevel
|
cmd if errorlevel gtr 7 exit errorlevel
|
||||||
-robocopy "vendor\raylib-cpp\include" "include" *.hpp
|
-robocopy "vendor\raylib-cpp\include" "include" *.hpp
|
||||||
if errorlevel gtr 7 exit errorlevel
|
cmd if errorlevel gtr 7 exit errorlevel
|
||||||
# Copy commands for UNIX/Linux
|
# Copy commands for UNIX/Linux
|
||||||
else
|
else
|
||||||
mkdir $(mkdirOptions) include
|
mkdir $(mkdirOptions) include
|
||||||
@ -78,7 +78,7 @@ lib: submodules
|
|||||||
ifeq ($(platform), Windows)
|
ifeq ($(platform), Windows)
|
||||||
-mkdir $(mkdirOptions) lib\$(platform)
|
-mkdir $(mkdirOptions) lib\$(platform)
|
||||||
-robocopy "vendor\raylib-cpp\vendor\raylib\src" "lib\Windows" libraylib.a
|
-robocopy "vendor\raylib-cpp\vendor\raylib\src" "lib\Windows" libraylib.a
|
||||||
if errorlevel gtr 7 exit errorlevel
|
cmd if errorlevel gtr 7 exit errorlevel
|
||||||
else
|
else
|
||||||
mkdir $(mkdirOptions) lib/$(platform)
|
mkdir $(mkdirOptions) lib/$(platform)
|
||||||
cp vendor/raylib-cpp/vendor/raylib/$(libGenDirectory)/libraylib.a lib/$(platform)/libraylib.a
|
cp vendor/raylib-cpp/vendor/raylib/$(libGenDirectory)/libraylib.a lib/$(platform)/libraylib.a
|
||||||
|
Loading…
Reference in New Issue
Block a user