summaryrefslogtreecommitdiff
path: root/cross-make-mingw.sh
diff options
context:
space:
mode:
Diffstat (limited to 'cross-make-mingw.sh')
-rwxr-xr-xcross-make-mingw.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/cross-make-mingw.sh b/cross-make-mingw.sh
new file mode 100755
index 0000000..604ced1
--- /dev/null
+++ b/cross-make-mingw.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+export CC=i586-mingw32msvc-gcc
+export WINDRES=i586-mingw32msvc-windres
+export PLATFORM=mingw32
+if [ !$ARCH ]
+then
+export ARCH=x86
+fi
+exec make $*