mingwmake.bat
branchjv
changeset 3855 1db7742d33ad
parent 3716 10e211752eb3
--- a/mingwmake.bat	Thu Jan 19 12:00:14 2017 +0000
+++ b/mingwmake.bat	Mon Jan 23 12:42:33 2017 +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