]> Shamusworld >> Repos - apple2/blob - cross-compile
Fix trash on sides of screen in full screen mode.
[apple2] / 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 export PATH=/opt/mxe/usr/bin:$PATH
9 #make CROSS=i686-pc-mingw32- clean  && make CROSS=i686-pc-mingw32-
10 make CROSS=x86_64-w64-mingw32.static- clean \
11  && make CROSS=x86_64-w64-mingw32.static- \
12  && upx -9v apple2.exe
13
14 #TARGET = apple2
15 #echo "Cross compiling $(TARGET) for Win32..."
16 #export PATH=/opt/mxe/usr/bin:$PATH
17 #rm Makefile
18 #/opt/mxe/usr/i686-pc-mingw32/qt/bin/qmake
19 #make clean && make
20 #make CROSS=i686-pc-mingw32-
21 #rel=`svn info | grep Revision | cut -f 2 -d ' '`
22 #rel=`git log -1 --pretty=format:%ci | cut -d ' ' -f 1 | tr -d -`
23 #cd release && upx -9v $(TARGET).exe && zip -9v $(TARGET)-$rel.zip $(TARGET).exe
24