Please see mfix_usr_guide.pdf
apt install -y --no-install-recommends gfortran-mingw-w64 build-essential sed
yum install -y mingw-w64
git clone https://github.com/sjzMa/mfix-2015.git
chmod 777 -R mfix-2015/
cd mfix-2015
mkdir trybuild && cd trybuild
../configure_mfix --host=x86_64-w64-mingw32 FCFLAGS="-O2" FFLAGS="-O2" --enable-smp
../configure_mfix --host=x86_64-w64-mingw32 FCFLAGS="-O2" FFLAGS="-O2"
make -j4 LDFLAGS="-static -Wl,--stack,16777216"
Last, you will get standalone EXE Program