diff --git a/Build.cmd b/Build.cmd index 13a64142..014edcf5 100644 --- a/Build.cmd +++ b/Build.cmd @@ -1,4 +1,9 @@ @echo off + setlocal + +if not exist Output md Output + cd Source + call Build %* diff --git a/BuildImages.cmd b/BuildImages.cmd index b1df14c2..9979c7c7 100644 --- a/BuildImages.cmd +++ b/BuildImages.cmd @@ -1,4 +1,6 @@ @echo off setlocal +if not exist Output md Output + pushd Images && Build && popd \ No newline at end of file diff --git a/Clean.cmd b/Clean.cmd index fd372bb5..6c86e1aa 100644 --- a/Clean.cmd +++ b/Clean.cmd @@ -8,4 +8,4 @@ pushd Images && call Clean && popd if exist *.img del *.img /Q if exist *.log del *.log /Q -if exist Output\*.* del Output\*.* /Q +if exist Output rd /s /q Output \ No newline at end of file