79 lines
1.8 KiB
Prolog
79 lines
1.8 KiB
Prolog
#
|
|
# Kangaroo Punch MultiPlayer Game Server Mark II
|
|
# Copyright (C) 2020-2021 Scott Duensing
|
|
#
|
|
# This program is free software: you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation, either version 3 of the License, or
|
|
# (at your option) any later version.
|
|
#
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
#
|
|
|
|
|
|
TEMPLATE = app
|
|
CONFIG -= qt
|
|
CONFIG += \
|
|
console \
|
|
c11
|
|
|
|
DESTDIR = $$OUT_PWD/bin
|
|
SHARED = $$PWD/../shared
|
|
|
|
INCLUDEPATH += \
|
|
/usr/include/mariadb \
|
|
/usr/include/mariadb/mysql \
|
|
$$SHARED \
|
|
$$PWD/src
|
|
|
|
HEADERS = \
|
|
$$SHARED/stddclmr.h \
|
|
$$SHARED/thirdparty/stb_ds.h \
|
|
$$SHARED/thirdparty/memwatch/memwatch.h \
|
|
$$SHARED/thirdparty/blowfish-api/blowfish.h \
|
|
$$SHARED/thirdparty/ini/src/ini.h \
|
|
$$SHARED/thirdparty/enet/include/enet.h \
|
|
$$SHARED/array.h \
|
|
$$SHARED/log.h \
|
|
$$SHARED/memory.h \
|
|
$$SHARED/util.h \
|
|
$$SHARED/primes.h \
|
|
$$SHARED/packet.h \
|
|
src/client.h \
|
|
src/console.h \
|
|
src/database.h \
|
|
src/network.h \
|
|
src/os.h \
|
|
src/server.h
|
|
|
|
SOURCES = \
|
|
$$SHARED/thirdparty/memwatch/memwatch.c \
|
|
$$SHARED/thirdparty/blowfish-api/blowfish.c \
|
|
$$SHARED/thirdparty/ini/src/ini.c \
|
|
$$SHARED/array.c \
|
|
$$SHARED/log.c \
|
|
$$SHARED/memory.c \
|
|
$$SHARED/util.c \
|
|
$$SHARED/packet.c \
|
|
src/client.c \
|
|
src/console.c \
|
|
src/database.c \
|
|
src/main.c \
|
|
src/network.c \
|
|
src/server.c
|
|
|
|
LIBS = \
|
|
-L/usr/lib/x86_64-linux-gnu/ \
|
|
-lmariadb \
|
|
-ldl \
|
|
-lm \
|
|
-lpthread \
|
|
-lgnutls
|
|
|
|
OTHER_FILES =
|