mingwmake.bat
author Jan Vrany <jan.vrany@fit.cvut.cz>
Mon, 20 Apr 2015 18:06:31 +0100
changeset 434 840942b96eea
parent 427 a7f5e6de19d2
child 441 6f0eb79b3dda
child 502 1e45d3c96ec5
permissions -rw-r--r--
Bugfix: in teardown, do not remove parser if it has not been compiled. This leads to `Smalltalk removeClass: UndefinedObject` which is not good idea.

@REM -------
@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%"

@pushd ..\..\rules
@call find_mingw.bat
@popd
make.exe -N -f bc.mak %DEFINES% %USEMINGW_ARG% %*

@echo "***********************************"
@echo "Buildung stx/goodies/petitparser/analyzer
@echo "***********************************"
@pushd analyzer
@call mingwmake %1 %2 || exit /b "%errorlevel%"
@popd

@echo "***********************************"
@echo "Buildung stx/goodies/petitparser/tests
@echo "***********************************"
@pushd tests
@call mingwmake %1 %2 || exit /b "%errorlevel%"
@popd