mingwmake.bat
changeset 427 a7f5e6de19d2
parent 241 1c8126a813fa
child 441 6f0eb79b3dda
child 502 1e45d3c96ec5
--- a/mingwmake.bat	Mon Apr 13 14:19:55 2015 +0100
+++ b/mingwmake.bat	Mon Apr 13 22:00:44 2015 +0100
@@ -16,15 +16,15 @@
 @echo "***********************************"
 @echo "Buildung stx/goodies/petitparser/analyzer
 @echo "***********************************"
-@cd analyzer
-@call mingwmake %1 %2
-@cd ..
+@pushd analyzer
+@call mingwmake %1 %2 || exit /b "%errorlevel%"
+@popd
 
 @echo "***********************************"
 @echo "Buildung stx/goodies/petitparser/tests
 @echo "***********************************"
-@cd tests
-@call mingwmake %1 %2
-@cd ..
+@pushd tests
+@call mingwmake %1 %2 || exit /b "%errorlevel%"
+@popd