mingwmake.bat
author Jan Vrany <jan.vrany@fit.cvut.cz>
Fri, 17 Jun 2016 23:50:59 +0100
changeset 27 73e7acbd16ff
parent 25 bc02c8d447c3
permissions -rw-r--r--
Simple method prologue / epilogue implementation * prologue always allocate a new context and updates __thisContext register. * epilogue always fetches return value from retvalTemp and calls __MKREALCONTEXT5() This should do for now, even though this is not always the most effective way of doing things.

@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 "Building jv/dragonfly/udis86sx
@echo "***********************************"
@pushd udis86sx
@call mingwmake %1 %2 || exit /b "%errorlevel%"
@popd

@echo "***********************************"
@echo "Building jv/dragonfly/asm
@echo "***********************************"
@pushd asm
@call mingwmake %1 %2 || exit /b "%errorlevel%"
@popd