summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcross-make-mingw64.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/cross-make-mingw64.sh b/cross-make-mingw64.sh
new file mode 100755
index 00000000..5a05a81a
--- /dev/null
+++ b/cross-make-mingw64.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+export CC=amd64-mingw32msvc-gcc
+export WINDRES=amd64-mingw32msvc-windres
+export PLATFORM=mingw32
+if [ !$ARCH ]
+then
+export ARCH=x86_64
+fi
+exec make $*