3 # Used to build the Win32 version of bat
6 if test -e ../config.h ; then
7 mv -f ../config.h ../config.h.orig
9 qmake -spec win32 -unix -o Makefile.mingw32 bat.pro.mingw32
10 make -j3 -f Makefile.mingw32 $1
11 if test -e ../config.h.orig ; then
12 mv -f ../config.h.orig ../config.h
14 if test -d ../win32/release32; then
15 cp -f debug/bat.exe ../win32/release32
16 cp -f ${DEPKGS}/depkgs-mingw32/lib/qt/QtGui4.dll ../win32/release32
17 cp -f ${DEPKGS}/depkgs-mingw32/lib/qt/QtCore4.dll ../win32/release32