summaryrefslogtreecommitdiff
path: root/cross-make-mingw.sh
diff options
context:
space:
mode:
authorPaweł Redman <trem.redman@gmail.com>2013-09-06 22:40:51 +0200
committerPaweł Redman <trem.redman@gmail.com>2013-09-06 22:40:51 +0200
commit5a85e81685300e2299dabfeb25d513b99df471be (patch)
tree45c3e342a9af062528c6c32b695629a65eede91b /cross-make-mingw.sh
Initial commit
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 $*