@REM -------
@REM make using mingw gnu compiler
@REM type mingwmake, and wait...
@REM do not edit - automatically generated from ProjectDefinition
@REM -------
@SET DEFINES=
@pushd ..\rules
@call find_mingw.bat
@popd
make.exe -N -f bc.mak %DEFINES% %USEMINGW_ARG% %*
@if not exist common goto skip_stx_libscm_common
@echo "***********************************"
@echo "Building stx/libscm/common"
@echo "***********************************"
@pushd common
@call mingwmake %1 %2 || exit /b "%errorlevel%"
@popd
@goto done_stx_libscm_common
:skip_stx_libscm_common
@echo "###################################"
@echo "FOLDER MISSING: stx/libscm/common"
@echo "###################################"
exit /b 1
:done_stx_libscm_common
@if not exist mercurial goto skip_stx_libscm_mercurial
@echo "***********************************"
@echo "Building stx/libscm/mercurial"
@echo "***********************************"
@pushd mercurial
@call mingwmake %1 %2 || exit /b "%errorlevel%"
@popd
@goto done_stx_libscm_mercurial
:skip_stx_libscm_mercurial
@echo "###################################"
@echo "FOLDER MISSING: stx/libscm/mercurial"
@echo "###################################"
exit /b 1
:done_stx_libscm_mercurial
@if not exist github goto skip_stx_libscm_github
@echo "***********************************"
@echo "Building stx/libscm/github"
@echo "***********************************"
@pushd github
@call mingwmake %1 %2 || exit /b "%errorlevel%"
@popd
@goto done_stx_libscm_github
:skip_stx_libscm_github
@echo "###################################"
@echo "FOLDER MISSING: stx/libscm/github"
@echo "###################################"
exit /b 1
:done_stx_libscm_github