Files
yttrium-virtio-gpu/NetKVM/Mof/clean.bat
T
Ladi Prosek 1680088a47 Fix cleanup scripts
This commit fixes a few issues with the clean.bat / cleanAll.bat
scripts. All output and intermediate files are now deleted upon
executing clean.bat in the root of the repo.

Absolute IntDir and OutDir paths are added to NetKVM/Mof/Mof.vcxproj
to avoid leaving build artifacts in random directories.

Signed-off-by: Ladi Prosek <[email protected]>
2017-08-02 13:59:22 +02:00

20 lines
255 B
Batchfile

@echo off
goto start
:rmdir
if exist "%~1" rmdir "%~1" /s /q
goto :eof
:rmfiles
if "%~1"=="" goto :eof
if exist "%~1" del "%~1"
shift
goto rmfiles
:start
call :rmdir obj
call :rmdir Win32
call :rmdir x64
call :rmfiles ..\Common\netkvmmof.h netkvm.bmf