]> Shamusworld >> Repos - virtualjaguar/blob - cross-compile
Preparation for 2.1.0 release.
[virtualjaguar] / cross-compile
1 #!/bin/bash
2 #
3 # Short script to do cross compilation with MXE on Linux
4 #
5 # by James Hammons
6 # (C) 2012 Underground Software
7 #
8 echo "Cross compiling for Win32..."
9 export PATH=/opt/mxe/usr/bin:$PATH
10 rm makefile-qt
11 make CROSS=i686-pc-mingw32-
12 #rel=`svn info | grep Revision | cut -f 2 -d ' '`
13 rel=`git log -1 --pretty=format:%ci | cut -d ' ' -f 1 | tr -d -`
14 cd release && upx -9v virtualjaguar.exe && zip -9v vj-$rel.zip virtualjaguar.exe