aboutsummaryrefslogtreecommitdiffstats
path: root/cross-make-mingw.sh
diff options
context:
space:
mode:
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 $*