From 793ea40f9b25dd3e57162ec4c75685b31bd7379f Mon Sep 17 00:00:00 2001 From: lotodore Date: Sun, 18 Feb 2007 15:14:59 +0000 Subject: [PATCH] Updated make file. Should work with Win32 and Linux now. --- pokerth.pro | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/pokerth.pro b/pokerth.pro index 078b5152..acea65ce 100755 --- a/pokerth.pro +++ b/pokerth.pro @@ -95,17 +95,29 @@ SOURCES += pokerth.cpp \ socket_startup.cpp \ clientstate.cpp \ clientthread.cpp \ + clientdata.cpp \ + clientcallback.cpp \ socket_helper_cmn.cpp \ thread.cpp TEMPLATE = vcapp RESOURCES = src/gui/qt/deck.qrc TEMPLATE = app -DEPENDPATH += . src uics src/config src/config/tinyxml src/gui src/gui/qt src/gui/qt/mainwindow/startsplash src/gui/qt/mainwindow src/gui/qt/aboutpokerth src/gui/qt/joinnetworkgamedialog src/gui/qt/connecttoserverdialog src/gui/qt/newlocalgamedialog src/gui/qt/settingsdialog src/gui/qt/log src/engine src/engine/local_engine src/net src/net/common src/net/linux/ src/core/ -INCLUDEPATH += . src uics src/config src/config/tinyxml src/gui src/gui/qt src/gui/qt/mainwindow/startsplash src/gui/qt/mainwindow src/gui/qt/aboutpokerth src/gui/qt/joinnetworkgamedialog src/gui/qt/connecttoserverdialog src/gui/qt/newlocalgamedialog src/gui/qt/settingsdialog src/gui/qt/log src/engine src/engine/local_engine src/net src/net/common src/net/linux/ src/core/ +DEPENDPATH += . src uics src/config src/config/tinyxml src/gui src/gui/qt src/gui/qt/mainwindow/startsplash src/gui/qt/mainwindow src/gui/qt/aboutpokerth src/gui/qt/joinnetworkgamedialog src/gui/qt/connecttoserverdialog src/gui/qt/newlocalgamedialog src/gui/qt/settingsdialog src/gui/qt/log src/engine src/engine/local_engine src/net src/net/common src/core/ +INCLUDEPATH += . src uics src/config src/config/tinyxml src/gui src/gui/qt src/gui/qt/mainwindow/startsplash src/gui/qt/mainwindow src/gui/qt/aboutpokerth src/gui/qt/joinnetworkgamedialog src/gui/qt/connecttoserverdialog src/gui/qt/newlocalgamedialog src/gui/qt/settingsdialog src/gui/qt/log src/engine src/engine/local_engine src/net src/net/common src/core/ +win32 { + DEPENDPATH += src/net/win32/ + INCLUDEPATH += ../boost/ + LIBPATH += ../boost/stage/lib + LIBS += ws2_32.lib +} +!win32 { + DEPENDPATH += src/net/linux/ + LIBS += -lboost_thread-mt +} + CONFIG += qt release UI_DIR = uics TARGET = bin/pokerth MOC_DIR = mocs OBJECTS_DIR = obj QT += -LIBS += -lboost_thread-mt