]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/qt-console/make-win32
kes Define a machine dependent ioctl request type for use with
[bacula/bacula] / bacula / src / qt-console / make-win32
1 #!/bin/sh
2 #
3 #  Used to build the Win32 version of bat
4 #
5 rm -f debug/bat.exe
6 if test -e ../config.h ; then
7    mv -f ../config.h ../config.h.orig
8 fi
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
13 fi
14 if test -d ../win32/release; then
15    cp -f debug/bat.exe ../win32/release
16 fi