export PATH=/opt/mxe/usr/bin:$PATH
rm Makefile
/opt/mxe/usr/i686-pc-mingw32/qt/bin/qmake
make
#make CROSS=i686-pc-mingw32-
#rel=`svn info | grep Revision | cut -f 2 -d ' '`
export PATH=/opt/mxe/usr/bin:$PATH
rm Makefile
/opt/mxe/usr/i686-pc-mingw32/qt/bin/qmake
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