From 01638ccd276ad102691de42b11b81f6517e59bee Mon Sep 17 00:00:00 2001 From: Jonathan Moallem Date: Sun, 29 Nov 2020 17:07:36 +1100 Subject: [PATCH] Update Makefile --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 1c484b2..941ad4b 100644 --- a/Makefile +++ b/Makefile @@ -59,11 +59,11 @@ include: submodules ifeq ($(platform), Windows) -mkdir $(mkdirOptions) .\include -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 - if errorlevel gtr 7 exit errorlevel + cmd if errorlevel gtr 7 exit errorlevel -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 else mkdir $(mkdirOptions) include @@ -78,7 +78,7 @@ lib: submodules ifeq ($(platform), Windows) -mkdir $(mkdirOptions) lib\$(platform) -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 mkdir $(mkdirOptions) lib/$(platform) cp vendor/raylib-cpp/vendor/raylib/$(libGenDirectory)/libraylib.a lib/$(platform)/libraylib.a