# HG changeset patch # User Jan Vrany # Date 1366096922 -7200 # Node ID 986f567aafd8d0311b561da18f4e98865ba3f77b # Parent f2eef2f9cd2c4f289fef3a08ffa7c4d5a9a078af automatically generated by browser diff -r f2eef2f9cd2c -r 986f567aafd8 bmake.bat --- a/bmake.bat Tue Apr 16 09:22:00 2013 +0200 +++ b/bmake.bat Tue Apr 16 09:22:02 2013 +0200 @@ -3,6 +3,10 @@ @REM type bmake, and wait... @REM do not edit - automatically generated from ProjectDefinition @REM ------- -make.exe -N -f bc.mak %* +@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% %*