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