--- a/devtools/bmake.bat Thu Jan 10 14:24:33 2013 +0100
+++ b/devtools/bmake.bat Thu Jan 10 14:24:42 2013 +0100
@@ -1,8 +1,12 @@
@REM -------
-@REM make using borland bcc
+@REM make using Borland bcc32
@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% %*