summaryrefslogtreecommitdiff
path: root/cleanwin.cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cleanwin.cmd')
-rw-r--r--cleanwin.cmd23
1 files changed, 23 insertions, 0 deletions
diff --git a/cleanwin.cmd b/cleanwin.cmd
new file mode 100644
index 0000000..0fbd64e
--- /dev/null
+++ b/cleanwin.cmd
@@ -0,0 +1,23 @@
+@echo off
+REM # cleanwin.cmd
+REM # clean ipmiutil for windows
+REM #
+
+REM call cleanssl (?)
+
+set UTMAKE=ipmiutil.mak
+echo %LIBPATH% |findstr /C:amd64 >NUL
+if %errorlevel% EQU 0 set UTMAKE=ipmiutil64.mak
+
+cd lib
+nmake /nologo -f ipmilib.mak clean
+cd ..
+REM # echo make lib done
+
+cd util
+nmake /nologo -f %UTMAKE% clean
+del *.pdb 2>NUL
+cd ..
+REM # echo make util done
+
+echo cleanwin ipmiutil done