mingwmake.bat
author Jan Vrany <jan.vrany@fit.cvut.cz>
Sat, 01 Sep 2018 00:18:23 +0100
changeset 51 bac3aa0c73ef
parent 25 bc02c8d447c3
permissions -rw-r--r--
UDIS86: fix `UDIS86Instruction >> branchTarget` to handle indirect branch using memory argument ...such as: jmp 0x0($rdx) In that case, branch target address is not statically known so `nil` is returned. Callers must handle this.

@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