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