# HG changeset patch # User Claus Gittinger # Date 1530510399 -7200 # Node ID c8bd96ebb9ae741d23c851a2edad33ff77d13d13 # Parent 53f5ccdfacc665eab82245ffd8ca20e29d6c2577 class: PPParserResource test stuff moved diff -r 53f5ccdfacc6 -r c8bd96ebb9ae bmake.bat --- a/bmake.bat Mon Jul 02 07:46:37 2018 +0200 +++ b/bmake.bat Mon Jul 02 07:46:39 2018 +0200 @@ -4,23 +4,39 @@ @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%" + make.exe -N -f bc.mak %DEFINES% %* -@echo "***********************************" -@echo "Buildung stx/goodies/petitparser/analyzer -@echo "***********************************" -@cd analyzer -@call bmake %1 %2 -@cd .. - -@echo "***********************************" -@echo "Buildung stx/goodies/petitparser/tests -@echo "***********************************" -@cd tests -@call bmake %1 %2 -@cd .. +@if not exist analyzer goto skip_stx_goodies_petitparser_analyzer +@echo "***********************************" +@echo "Building stx/goodies/petitparser/analyzer" +@echo "***********************************" +@pushd analyzer +@call bmake %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 bmake %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 + +