]> Shamusworld >> Repos - architektonas/blobdiff - cross-compile
Re-added "Fixed Angle" tool. :-)
[architektonas] / cross-compile
index 78448512d3abf09635624dbf2bafdc9474f587d5..28e40851197a1b66ffa1e51b1d16900b85e35be3 100755 (executable)
@@ -5,13 +5,16 @@
 # by James Hammons
 # (C) 2012 Underground Software
 #
-TARGET = architectonas
-echo "Cross compiling $(TARGET) for Win32..."
+TARGET=architektonas
+#echo "Cross compiling ${TARGET} for Win32..."
+echo "Cross compiling ${TARGET} for Win64..."
 export PATH=/opt/mxe/usr/bin:$PATH
 rm Makefile
-/opt/mxe/usr/i686-pc-mingw32/qt/bin/qmake
-make
+#/opt/mxe/usr/i686-pc-mingw32/qt/bin/qmake
+/opt/mxe/usr/bin/x86_64-w64-mingw32.static-qmake-qt4
+make clean && make
 #make CROSS=i686-pc-mingw32-
 #rel=`svn info | grep Revision | cut -f 2 -d ' '`
-#rel=`git log -1 --pretty=format:%ci | cut -d ' ' -f 1 | tr -d -`
-#cd release && upx -9v $(TARGET).exe && zip -9v $(TARGET)-$rel.zip $(TARGET).exe
+rel=`git log -1 --pretty=format:%ci | cut -d ' ' -f 1 | tr -d -`
+#echo ${TARGET}.exe
+cd release && upx -9v ${TARGET}.exe && zip -9v ${TARGET}-${rel}.zip ${TARGET}.exe