diff options
Diffstat (limited to 'buildmin.cmd')
-rw-r--r-- | buildmin.cmd | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/buildmin.cmd b/buildmin.cmd index bf40503..5b22b6f 100644 --- a/buildmin.cmd +++ b/buildmin.cmd @@ -13,9 +13,14 @@ REM check for getopt.c,h set | findstr VCINSTALLDIR
if %errorlevel% EQU 1 goto vcerror
-set UTMAKE=ipmiutil2.mak
echo %LIBPATH% |findstr /C:64 >NUL
-if %errorlevel% EQU 0 set UTMAKE=ipmiutil2-64.mak
+if %errorlevel% EQU 0 (
+ set MARCH=X64
+ set UTMAKE=ipmiutil2-64.mak
+) else (
+ set MARCH=IX86
+ set UTMAKE=ipmiutil2.mak
+)
cd util
nmake /nologo -f %UTMAKE% all
|