2002-08-20 19:16:11 +00:00
|
|
|
#!/bin/sh -x
|
2012-11-29 02:19:09 +00:00
|
|
|
set -e
|
|
|
|
if test -d native; then
|
|
|
|
cd native
|
|
|
|
make $*
|
2021-04-01 23:55:16 +00:00
|
|
|
cd ../i686-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 .
|
2012-11-29 02:19:09 +00:00
|
|
|
fi
|
2012-12-14 08:03:52 +00:00
|
|
|
export MINGW=/opt/mxe
|
2021-04-01 23:55:16 +00:00
|
|
|
export MINGW_USR=$MINGW/usr/i686-w64-mingw32.static
|
2012-11-29 02:19:09 +00:00
|
|
|
export PKG_CONFIG_LIBDIR=$MINGW_USR/lib/pkgconfig
|
|
|
|
export PKG_CONFIG_PATH=$MINGW_USR/local/lib/pkgconfig
|
2010-12-23 02:45:08 +00:00
|
|
|
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 $*
|