windows-nt/Source/XPSP1/NT/base/crts/clean.cmd
2020-09-26 16:20:57 +08:00

22 lines
752 B
Batchfile

@setlocal
@echo off
@rem Multi-Architecture version of clean.bat:
@rem .bat files are executed before .cmd, thus clean.bat will be
@rem executed if just 'clean' is typed, 'clean.cmd' must be explicitly
@rem used to execute this script
set arch=i386
if "%PROCESSOR_ARCHITECTURE%" == "x86" set arch=%arch%
if "%PROCESSOR_ARCHITECTURE%" == "IA64" set arch=ia64
if "%PROCESSOR_ARCHITECTURE%" == "MIPS" set arch=mips
if "%PROCESSOR_ARCHITECTURE%" == "ALPHA" set arch=alpha
if "%PROCESSOR_ARCHITECTURE%" == "PPC" set arch=ppc
if exist build\* delnode /q build
if exist libw32\lib\%arch%\msvcrt40.def del libw32\lib\%arch%\msvcrt40.def
if exist libw32\lib\%arch%\msvcr40d.def del libw32\lib\%arch%\msvcr40d.def
if exist depend.sed del depend.sed
endlocal