bmake.bat
changeset 586 c8bd96ebb9ae
parent 238 6ed03fcc7209
child 617 5e371d620532
equal deleted inserted replaced
585:53f5ccdfacc6 586:c8bd96ebb9ae
     2 @REM make using Borland bcc32
     2 @REM make using Borland bcc32
     3 @REM type bmake, and wait...
     3 @REM type bmake, and wait...
     4 @REM do not edit - automatically generated from ProjectDefinition
     4 @REM do not edit - automatically generated from ProjectDefinition
     5 @REM -------
     5 @REM -------
     6 @SET DEFINES=
     6 @SET DEFINES=
     7 @REM Kludge got Mercurial, cannot be implemented in Borland make
     7 
     8 @FOR /F "tokens=*" %%i in ('hg root') do SET HGROOT=%%i
       
     9 @IF "%HGROOT%" NEQ "" SET DEFINES=%DEFINES% "-DHGROOT=%HGROOT%"
       
    10 make.exe -N -f bc.mak  %DEFINES% %*
     8 make.exe -N -f bc.mak  %DEFINES% %*
    11 
     9 
    12 @echo "***********************************"
       
    13 @echo "Buildung stx/goodies/petitparser/analyzer
       
    14 @echo "***********************************"
       
    15 @cd analyzer
       
    16 @call bmake %1 %2
       
    17 @cd ..
       
    18 
       
    19 @echo "***********************************"
       
    20 @echo "Buildung stx/goodies/petitparser/tests
       
    21 @echo "***********************************"
       
    22 @cd tests
       
    23 @call bmake %1 %2
       
    24 @cd ..
       
    25 
    10 
    26 
    11 
       
    12 @if not exist analyzer goto skip_stx_goodies_petitparser_analyzer
       
    13 @echo "***********************************"
       
    14 @echo "Building stx/goodies/petitparser/analyzer"
       
    15 @echo "***********************************"
       
    16 @pushd analyzer
       
    17 @call bmake %1 %2 || exit /b "%errorlevel%"
       
    18 @popd
       
    19 @goto done_stx_goodies_petitparser_analyzer
       
    20 :skip_stx_goodies_petitparser_analyzer
       
    21 @echo "###################################"
       
    22 @echo "FOLDER MISSING: stx/goodies/petitparser/analyzer"
       
    23 @echo "###################################"
       
    24 exit /b 1
       
    25 :done_stx_goodies_petitparser_analyzer
       
    26 
       
    27 @if not exist tests goto skip_stx_goodies_petitparser_tests
       
    28 @echo "***********************************"
       
    29 @echo "Building stx/goodies/petitparser/tests"
       
    30 @echo "***********************************"
       
    31 @pushd tests
       
    32 @call bmake %1 %2 || exit /b "%errorlevel%"
       
    33 @popd
       
    34 @goto done_stx_goodies_petitparser_tests
       
    35 :skip_stx_goodies_petitparser_tests
       
    36 @echo "###################################"
       
    37 @echo "FOLDER MISSING: stx/goodies/petitparser/tests"
       
    38 @echo "###################################"
       
    39 exit /b 1
       
    40 :done_stx_goodies_petitparser_tests
       
    41 
       
    42