aboutsummaryrefslogtreecommitdiffstats
path: root/cross-make-mingw.sh
diff options
context:
space:
mode:
authortma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-12-29 00:04:41 +0000
committertma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-12-29 00:04:41 +0000
commit85b16a6050111701725b7f6eb335da97cea23de1 (patch)
tree6cfe5acc5c1d998ecf16a8298a0c8200b1393ec0 /cross-make-mingw.sh
parent36fa51ec1544557d4ce722e1fadf97bbea7b4d5b (diff)
downloadioquake3-aero-85b16a6050111701725b7f6eb335da97cea23de1.tar.gz
ioquake3-aero-85b16a6050111701725b7f6eb335da97cea23de1.zip
* Support for MinGW cross compilation
git-svn-id: svn://svn.icculus.org/quake3/trunk@451 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'cross-make-mingw.sh')
-rwxr-xr-xcross-make-mingw.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/cross-make-mingw.sh b/cross-make-mingw.sh
new file mode 100755
index 0000000..bb9c23e
--- /dev/null
+++ b/cross-make-mingw.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+PREFIX=/usr/local/cross-tools
+TARGET=i386-mingw32msvc
+PATH="$PREFIX/bin:$PREFIX/$TARGET/bin:$PATH"
+export PATH
+export PLATFORM=mingw32
+exec make $*