bmake.bat
changeset 763 5402a1c9fd56
parent 710 334e7edb9e7c
child 816 57d79001bb77
--- a/bmake.bat	Thu Feb 07 19:06:54 2013 +0100
+++ b/bmake.bat	Thu Feb 07 19:06:57 2013 +0100
@@ -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% %*