Do not add stx:libview3 as preRequisite
authorStefan Vogel <sv@exept.de>
Fri, 01 Aug 2014 16:50:26 +0200
changeset 3151 ea535404aad5
parent 3150 b5cc196f8976
child 3152 508443bf4cdb
Do not add stx:libview3 as preRequisite
mingwmake.bat
--- a/mingwmake.bat	Fri Aug 01 16:49:39 2014 +0200
+++ b/mingwmake.bat	Fri Aug 01 16:50:26 2014 +0200
@@ -1,8 +1,16 @@
 @REM -------
-@REM make using mingw compiler
+@REM make using mingw gnu compiler
 @REM type mingwmake, and wait...
 @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%"
 
-@call ..\rules\find_mingw.bat
-make.exe -N -f bc.mak %USEMINGW_ARG% %*
+@pushd ..\rules
+@call find_mingw.bat
+@popd
+make.exe -N -f bc.mak %DEFINES% %USEMINGW_ARG% %*
+
+