2 @REM make using mingw gnu compiler |
2 @REM make using mingw gnu compiler |
3 @REM type mingwmake, and wait... |
3 @REM type mingwmake, 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 |
|
8 @FOR /F "tokens=*" %%i in ('hg root') do SET HGROOT=%%i |
|
9 @IF "%HGROOT%" NEQ "" SET DEFINES=%DEFINES% "-DHGROOT=%HGROOT%" |
|
10 |
7 |
11 @pushd ..\..\rules |
8 @pushd ..\..\rules |
12 @call find_mingw.bat |
9 @call find_mingw.bat |
13 @popd |
10 @popd |
14 make.exe -N -f bc.mak %DEFINES% %USEMINGW_ARG% %* |
11 make.exe -N -f bc.mak %DEFINES% %USEMINGW_ARG% %* |
15 |
12 |
16 @echo "***********************************" |
|
17 @echo "Buildung stx/goodies/petitparser/analyzer |
|
18 @echo "***********************************" |
|
19 @cd analyzer |
|
20 @call mingwmake %1 %2 |
|
21 @cd .. |
|
22 |
|
23 @echo "***********************************" |
|
24 @echo "Buildung stx/goodies/petitparser/tests |
|
25 @echo "***********************************" |
|
26 @cd tests |
|
27 @call mingwmake %1 %2 |
|
28 @cd .. |
|
29 |
13 |
30 |
14 |
|
15 @if not exist analyzer goto skip_stx_goodies_petitparser_analyzer |
|
16 @echo "***********************************" |
|
17 @echo "Building stx/goodies/petitparser/analyzer" |
|
18 @echo "***********************************" |
|
19 @pushd analyzer |
|
20 @call mingwmake %1 %2 || exit /b "%errorlevel%" |
|
21 @popd |
|
22 @goto done_stx_goodies_petitparser_analyzer |
|
23 :skip_stx_goodies_petitparser_analyzer |
|
24 @echo "###################################" |
|
25 @echo "FOLDER MISSING: stx/goodies/petitparser/analyzer" |
|
26 @echo "###################################" |
|
27 exit /b 1 |
|
28 :done_stx_goodies_petitparser_analyzer |
|
29 |
|
30 @if not exist tests goto skip_stx_goodies_petitparser_tests |
|
31 @echo "***********************************" |
|
32 @echo "Building stx/goodies/petitparser/tests" |
|
33 @echo "***********************************" |
|
34 @pushd tests |
|
35 @call mingwmake %1 %2 || exit /b "%errorlevel%" |
|
36 @popd |
|
37 @goto done_stx_goodies_petitparser_tests |
|
38 :skip_stx_goodies_petitparser_tests |
|
39 @echo "###################################" |
|
40 @echo "FOLDER MISSING: stx/goodies/petitparser/tests" |
|
41 @echo "###################################" |
|
42 exit /b 1 |
|
43 :done_stx_goodies_petitparser_tests |
|
44 |
|
45 |