OSDN Git Service

Clean-up before build.
authorlordmulder <mulder2@gmx.de>
Sat, 19 Dec 2015 22:30:40 +0000 (23:30 +0100)
committerlordmulder <mulder2@gmx.de>
Sat, 19 Dec 2015 22:30:40 +0000 (23:30 +0100)
z_build.bat

index f911480..d2ff3d7 100644 (file)
@@ -54,6 +54,16 @@ if "%ISO_DATE%"=="" goto BuildError
 if "%ISO_TIME%"=="" goto BuildError
 
 REM ///////////////////////////////////////////////////////////////////////////
+REM // Clean up temp files
+REM ///////////////////////////////////////////////////////////////////////////
+echo ---------------------------------------------------------------------
+echo CLEAN UP
+echo ---------------------------------------------------------------------
+for %%i in (bin,obj,tmp) do (
+       del /Q /S /F "%~dp0\%%i\*.*"
+)
+
+REM ///////////////////////////////////////////////////////////////////////////
 REM // Build the binaries
 REM ///////////////////////////////////////////////////////////////////////////
 echo ---------------------------------------------------------------------