Stop build when an error occurs.
[openssl.git] / ms / 32all.bat
index d1f014c4e0f67256331437b174380b3fe35fd6e8..7789cd7667d29e76d71688d273640b0bd73ae129 100755 (executable)
@@ -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