Always make distclean at start, just in case.

This commit is contained in:
lotodore
2010-10-17 21:51:16 +00:00
parent 21f9e429b5
commit 3575fc3baf
2 changed files with 6 additions and 0 deletions
+3
View File
@@ -9,6 +9,9 @@ SET PATH=%POKERTH_WIN32_LIB_DIR%\qt\bin;%POKERTH_WIN32_LIB_DIR%\mingw32\bin;%PAT
SET QMAKESPEC=win32-g++ SET QMAKESPEC=win32-g++
SET QTDIR=%POKERTH_WIN32_LIB_DIR%\qt SET QTDIR=%POKERTH_WIN32_LIB_DIR%\qt
if exist Makefile. (
mingw32-make distclean
)
qmake DEFINES+=BOOST_USE_WINDOWS_H pokerth.pro qmake DEFINES+=BOOST_USE_WINDOWS_H pokerth.pro
mingw32-make release mingw32-make release
IF NOT "%ERRORLEVEL%"=="0" exit /b %ERRORLEVEL% IF NOT "%ERRORLEVEL%"=="0" exit /b %ERRORLEVEL%
+3
View File
@@ -9,6 +9,9 @@ SET PATH=%POKERTH_WIN64_LIB_DIR%\qt\bin;%POKERTH_WIN64_LIB_DIR%\mingw64\bin;%PAT
SET QMAKESPEC=win32-g++ SET QMAKESPEC=win32-g++
SET QTDIR=%POKERTH_WIN64_LIB_DIR%\qt SET QTDIR=%POKERTH_WIN64_LIB_DIR%\qt
if exist Makefile. (
mingw32-make distclean
)
qmake CONFIG+=pkth_win64 DEFINES+=BOOST_USE_WINDOWS_H pokerth.pro qmake CONFIG+=pkth_win64 DEFINES+=BOOST_USE_WINDOWS_H pokerth.pro
mingw32-make release mingw32-make release
IF NOT "%ERRORLEVEL%"=="0" exit /b %ERRORLEVEL% IF NOT "%ERRORLEVEL%"=="0" exit /b %ERRORLEVEL%