summaryrefslogtreecommitdiff
path: root/cross-make-mingw.sh
diff options
context:
space:
mode:
authorMikko Tiusanen <ams@daug.net>2014-05-04 01:18:52 +0300
committerMikko Tiusanen <ams@daug.net>2014-05-04 01:18:52 +0300
commit01beb9919b95479d8be040bec74abc5cc67a5e43 (patch)
tree65f0b79e793848491832756a4c3a32b23668fab3 /cross-make-mingw.sh
parent191d731da136b7ee959a17e63111c9146219a768 (diff)
Initial import.
Diffstat (limited to 'cross-make-mingw.sh')
-rw-r--r--cross-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 100644
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 $*