diff -r 76aa9cf6568e -r 7ad7f1c76b45 mingwmake.bat --- a/mingwmake.bat Mon Apr 22 15:26:46 2013 +0200 +++ b/mingwmake.bat Mon Apr 22 15:26:57 2013 +0200 @@ -3,6 +3,14 @@ @REM type mingwmake, and wait... @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%" -@call ..\..\rules\find_mingw.bat -make.exe -N -f bc.mak %USEMINGW_ARG% %* +@pushd ..\..\rules +@call find_mingw.bat +@popd +make.exe -N -f bc.mak %DEFINES% %USEMINGW_ARG% %* + +