mingwmake.bat
changeset 3513 5581377e87fa
parent 3508 622620308fee
child 3514 b3cbf3ca5dcf
--- a/mingwmake.bat	Mon Jan 11 22:31:49 2016 +0000
+++ b/mingwmake.bat	Mon Jan 11 23:22:29 2016 +0000
@@ -4,6 +4,9 @@
 @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%"
 
 @pushd ..\rules
 @call find_mingw.bat