TEMPLATE = app
CONFIG += console
CONFIG -= app_bundle
CONFIG -= qt

SOURCES += \
    Timer.cpp \
    pst.cpp \
    movegen.cpp \
    main.cpp \
    hash.cpp \
    eval.cpp \
    engine.cpp \
    chess.cpp

OTHER_FILES +=

HEADERS += \
    Timer.h \
    movegen.h \
    main.h \
    hash.h \
    extern.h \
    eval.h \
    engine.h \
    chess.h \
    short_list.h

QMAKE_CXXFLAGS += -std=c++11
CONFIG -= exceptions

debug_and_release {
    CONFIG -= debug_and_release
    CONFIG += debug_and_release
}

CONFIG(debug, debug|release) {
    CONFIG -= debug release
    CONFIG += debug
}

CONFIG(release, debug|release) {
    CONFIG -= debug release
    CONFIG += release
    DEFINES += NDEBUG
    QMAKE_LFLAGS += -static
}
