mirror of http://shamusworld.gotdns.org/git/rln
13 lines
356 B
Bash
Executable File
13 lines
356 B
Bash
Executable File
#!/bin/bash
|
|
#
|
|
# Short script to do cross compilation with MXE on Linux
|
|
#
|
|
# by James Hammons
|
|
# (C) 2012 Underground Software
|
|
#
|
|
echo "Cross compiling for Win32..."
|
|
export PATH=/opt/mxe/usr/bin:$PATH
|
|
make CROSS=i686-pc-mingw32-
|
|
rel=`git log -1 --pretty=format:%ci | cut -d ' ' -f 1 | tr -d -`
|
|
mv rln rln.exe && upx -9v rln.exe && zip -9v rln-$rel.zip rln.exe
|