s/benchmarks/mingwmake.bat
author Jan Vrany <jan.vrany@fit.cvut.cz>
Wed, 12 Feb 2020 15:09:57 +0000
changeset 318 1b735d3747d8
parent 200 74d0deae135b
permissions -rw-r--r--
Use launcher script to run smalltalk ...rather than binary. This makes it work in both, in-tree builds and (new) out-of-tree builds.

@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 ..\..\..\..\stx\rules
@call find_mingw.bat
@popd
make.exe -N -f bc.mak %DEFINES% %USEMINGW_ARG% %*

@echo "***********************************"
@echo "Buildung jv/calipel/s/benchmarks/game
@echo "***********************************"
@cd game
@call mingwmake %1 %2
@cd ..

@echo "***********************************"
@echo "Buildung jv/calipel/s/benchmarks/stx
@echo "***********************************"
@cd stx
@call mingwmake %1 %2
@cd ..

@echo "***********************************"
@echo "Buildung jv/calipel/s/benchmarks/micro
@echo "***********************************"
@cd micro
@call mingwmake %1 %2
@cd ..