From 3575fc3baffc9b3e144be24d11a0c00815bd96d9 Mon Sep 17 00:00:00 2001 From: lotodore Date: Sun, 17 Oct 2010 21:51:16 +0000 Subject: [PATCH] Always make distclean at start, just in case. --- build_win32.cmd | 3 +++ build_win64.cmd | 3 +++ 2 files changed, 6 insertions(+) diff --git a/build_win32.cmd b/build_win32.cmd index a10f76be..83427571 100644 --- a/build_win32.cmd +++ b/build_win32.cmd @@ -9,6 +9,9 @@ SET PATH=%POKERTH_WIN32_LIB_DIR%\qt\bin;%POKERTH_WIN32_LIB_DIR%\mingw32\bin;%PAT SET QMAKESPEC=win32-g++ SET QTDIR=%POKERTH_WIN32_LIB_DIR%\qt +if exist Makefile. ( + mingw32-make distclean +) qmake DEFINES+=BOOST_USE_WINDOWS_H pokerth.pro mingw32-make release IF NOT "%ERRORLEVEL%"=="0" exit /b %ERRORLEVEL% diff --git a/build_win64.cmd b/build_win64.cmd index 0b82c944..f837c21a 100644 --- a/build_win64.cmd +++ b/build_win64.cmd @@ -9,6 +9,9 @@ SET PATH=%POKERTH_WIN64_LIB_DIR%\qt\bin;%POKERTH_WIN64_LIB_DIR%\mingw64\bin;%PAT SET QMAKESPEC=win32-g++ SET QTDIR=%POKERTH_WIN64_LIB_DIR%\qt +if exist Makefile. ( + mingw32-make distclean +) qmake CONFIG+=pkth_win64 DEFINES+=BOOST_USE_WINDOWS_H pokerth.pro mingw32-make release IF NOT "%ERRORLEVEL%"=="0" exit /b %ERRORLEVEL%