2013-01-22 08:50:38 +00:00
|
|
|
#!/bin/sh -x
|
|
|
|
set -e
|
|
|
|
if test -d native; then
|
|
|
|
cd native
|
|
|
|
make $*
|
2021-03-27 11:09:37 +00:00
|
|
|
cd ../x86_64-w64-mingw32.static
|
|
|
|
ln -fs ../native/qfcc .
|
|
|
|
ln -fs ../native/pak .
|
2021-07-11 04:30:52 +00:00
|
|
|
ln -fs ../native/ruamoko/qwaq/qwaq-cmd .
|
2013-01-22 08:50:38 +00:00
|
|
|
fi
|
|
|
|
export MINGW=/opt/mxe
|
2021-03-27 11:09:37 +00:00
|
|
|
export MINGW_USR=$MINGW/usr/x86_64-w64-mingw32.static
|
2013-01-22 08:50:38 +00:00
|
|
|
export PKG_CONFIG_LIBDIR=$MINGW_USR/lib/pkgconfig
|
|
|
|
export PKG_CONFIG_PATH=$MINGW_USR/local/lib/pkgconfig
|
|
|
|
export PATH=$MINGW/usr/bin:$PATH
|
|
|
|
|
2021-11-19 13:36:19 +00:00
|
|
|
make PAK='$(top_builddir)/pak' QFCC='$(top_builddir)/qfcc' QWAQ='$(top_builddir)/qwaq-cmd' VKGENUSRINC=$MINGW_USR/include $*
|