--- a/bmake.bat Mon Apr 13 14:19:55 2015 +0100
+++ b/bmake.bat Mon Apr 13 22:00:44 2015 +0100
@@ -12,15 +12,15 @@
@echo "***********************************"
@echo "Buildung stx/goodies/petitparser/analyzer
@echo "***********************************"
-@cd analyzer
-@call bmake %1 %2
-@cd ..
+@pushd analyzer
+@call bmake %1 %2 || exit /b "%errorlevel%"
+@popd
@echo "***********************************"
@echo "Buildung stx/goodies/petitparser/tests
@echo "***********************************"
-@cd tests
-@call bmake %1 %2
-@cd ..
+@pushd tests
+@call bmake %1 %2 || exit /b "%errorlevel%"
+@popd