bmake.bat
branchjv
changeset 12317 aac0f12a3327
parent 12294 b3efe6954d0f
child 12405 76f9a872362b
--- a/bmake.bat	Mon Jan 14 12:06:46 2013 +0000
+++ b/bmake.bat	Tue Jan 15 12:03:21 2013 +0000
@@ -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% %*