3 # just a small shell script that is used to invoke make with the right
4 # parameters to cross compile a binary for Windows
6 # the paths work for the default mingw32 install on OpenSUSE - adjust as
9 export PATH=/usr/i686-w64-mingw32/sys-root/mingw/bin:$PATH
10 make CC=i686-w64-mingw32-gcc \
11 PKGCONFIG=i686-w64-mingw32-pkg-config \
12 PKG_CONFIG_PATH=/usr/i686-w64-mingw32/sys-root/i686-w64-mingw32/lib/pkgconfig/ \
13 XSLTCONFIG=/usr/i686-w64-mingw32/sys-root/mingw/bin/xslt-config \
14 XML2CONFIG=/usr/i686-w64-mingw32/sys-root/mingw/bin/xml2-config NAME=subsurface.exe