Stop build when an error occurs.
[openssl.git] / ms / 32all.bat
index 088c942887a0275d7854bb28be55a1e53ba0f478..7789cd7667d29e76d71688d273640b0bd73ae129 100755 (executable)
@@ -1,4 +1,4 @@
-set OPTS=no_asm
+set OPTS=no-asm
 
 perl Configure VC-WIN32
 perl util\mk1mf.pl %OPTS% debug VC-WIN32 >d32.mak
@@ -7,6 +7,11 @@ perl util\mk1mf.pl %OPTS% debug dll VC-WIN32 >d32dll.mak
 perl util\mk1mf.pl %OPTS% dll VC-WIN32 >32dll.mak
 
 nmake -f d32.mak
+@if errorlevel 1 goto end
 nmake -f 32.mak
+@if errorlevel 1 goto end
 nmake -f d32dll.mak
+@if errorlevel 1 goto end
 nmake -f 32dll.mak
+
+:end