@echo off set ARG1=%~1 set ARG2=%~2 pushd "%~dp0%" call setup_msys2.cmd "%ARG1%" "%ARG2%" call mingw64 -no-start ./make_common.sh "%ARG1%" "x86_64" "%ARG2%" 1 0 || exit 1 popd