# HG changeset patch # User Claus Gittinger # Date 1530510403 -7200 # Node ID 2c0295b3fcae82a77856ee03b68743079c4cc608 # Parent 730b28985ae4955e1997d77cdd8496a5c4b1965b class: PPParserResource test stuff moved diff -r 730b28985ae4 -r 2c0295b3fcae mingwmake.bat --- a/mingwmake.bat Mon Jul 02 07:46:41 2018 +0200 +++ b/mingwmake.bat Mon Jul 02 07:46:43 2018 +0200 @@ -4,27 +4,42 @@ @REM do not edit - automatically generated from ProjectDefinition @REM ------- @SET DEFINES= -@REM Kludge got Mercurial, cannot be implemented in Borland make -@FOR /F "tokens=*" %%i in ('hg root') do SET HGROOT=%%i -@IF "%HGROOT%" NEQ "" SET DEFINES=%DEFINES% "-DHGROOT=%HGROOT%" @pushd ..\..\rules @call find_mingw.bat @popd make.exe -N -f bc.mak %DEFINES% %USEMINGW_ARG% %* -@echo "***********************************" -@echo "Buildung stx/goodies/petitparser/analyzer -@echo "***********************************" -@cd analyzer -@call mingwmake %1 %2 -@cd .. - -@echo "***********************************" -@echo "Buildung stx/goodies/petitparser/tests -@echo "***********************************" -@cd tests -@call mingwmake %1 %2 -@cd .. +@if not exist analyzer goto skip_stx_goodies_petitparser_analyzer +@echo "***********************************" +@echo "Building stx/goodies/petitparser/analyzer" +@echo "***********************************" +@pushd analyzer +@call mingwmake %1 %2 || exit /b "%errorlevel%" +@popd +@goto done_stx_goodies_petitparser_analyzer +:skip_stx_goodies_petitparser_analyzer +@echo "###################################" +@echo "FOLDER MISSING: stx/goodies/petitparser/analyzer" +@echo "###################################" +exit /b 1 +:done_stx_goodies_petitparser_analyzer + +@if not exist tests goto skip_stx_goodies_petitparser_tests +@echo "***********************************" +@echo "Building stx/goodies/petitparser/tests" +@echo "***********************************" +@pushd tests +@call mingwmake %1 %2 || exit /b "%errorlevel%" +@popd +@goto done_stx_goodies_petitparser_tests +:skip_stx_goodies_petitparser_tests +@echo "###################################" +@echo "FOLDER MISSING: stx/goodies/petitparser/tests" +@echo "###################################" +exit /b 1 +:done_stx_goodies_petitparser_tests + +