From db1646f00cffe1cb88c3b3ae2df32f8cc0f32ccf Mon Sep 17 00:00:00 2001 From: Jonathan Moallem Date: Sun, 29 Nov 2020 17:49:47 +1100 Subject: [PATCH] Update Makefile --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 83d1856..7093b09 100644 --- a/Makefile +++ b/Makefile @@ -12,8 +12,6 @@ ifeq ($(OS), Windows_NT) # Set Windows commands THEN = & cleanCommand = del ${CURDIR}\build\*.exe - echo if errorlevel gtr 7 exit errorlevel > CheckCopyError.bat - type CheckError.bat else # Check for MacOS/Linux UNAMEOS := $(shell uname) @@ -50,6 +48,10 @@ run: compile execute clean # Sets up the project for compiling, creates libs and includes setup: include lib +ifeq ($(platform), Windows) + echo if errorlevel gtr 7 exit errorlevel > CheckCopyError.bat + type CheckError.bat +endif # Pull and update the the build submodules submodules: