kpmpgsmkii/precache/precache.pro

59 lines
1.4 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
DESTDIR = $$OUT_PWD/bin
SHARED = $$PWD/../shared
CLIENT = $$PWD/../client/src
SYSTEM = $$CLIENT/system
THIRDP = $$CLIENT/thirdparty
INCLUDEPATH += \
$$CLIENT \
$$SHARED \
$$SHARED/thirdparty \
$$SYSTEM \
$$THIRDP
HEADERS = \
$$SHARED/stddclmr.h \
$$SHARED/log.h \
$$SHARED/util.h \
$$SHARED/thirdparty/memwatch/memwatch.h \
$$THIRDP/SHA256/sha256.h \
$$SYSTEM/surface.h \
$$SYSTEM/os.h \
$$SYSTEM/cache.h
SOURCES = \
$$SHARED/thirdparty/memwatch/memwatch.c \
$$SHARED/log.c \
$$SHARED/util.c \
$$THIRDP/SHA256/sha256.c \
$$CLIENT/linux/linux.c \
$$SYSTEM/surface.c \
$$SYSTEM/os.c \
$$SYSTEM/cache.c \
src/main.c
LIBS = \
-lSDL2 \
-lSDL2_image