kpmpgsmkii/client/client.pro
2021-11-26 18:03:45 -06:00

152 lines
3.3 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/>.
#
#CONFIG *= testing
# NOTE: You'll occasionally find a file with a capital "C" extension.
# These are C files that we want ignored by the DOS compiler.
TEMPLATE = app
CONFIG -= qt
DESTDIR = $$OUT_PWD/bin
SHARED = $$PWD/../shared
DOS_HEADERS =
DOS_SOURCES = \
src/thirdparty/serial/serial.c \
src/dos/keyboard.c \
src/dos/mouse.c \
src/dos/vesa.c
LINUX_INCLUDES = \
$$PWD/src/linux
LINUX_HEADERS = \
$$SHARED/thirdparty/enet/include/enet.h
LINUX_SOURCES = \
src/linux/linux.c
INCLUDEPATH += \
$$LINUX_INCLUDES \
$$SHARED \
$$PWD/src/system \
$$PWD/src/gui \
$$PWD/src
HEADERS = \
$$LINUX_HEADERS \
$$SHARED/stddclmr.h \
$$SHARED/thirdparty/stb_ds.h \
$$SHARED/thirdparty/stb_image.h \
$$SHARED/thirdparty/memwatch/memwatch.h \
$$SHARED/thirdparty/blowfish-api/blowfish.h \
$$SHARED/thirdparty/ini/src/ini.h \
$$SHARED/primes.h \
src/config.h \
$$SHARED/util.h \
src/thirdparty/minicoro/minicoro.h \
src/system/comport.h \
src/settings.h \
src/system/color.h \
$$SHARED/memory.h \
src/system/surface.h \
src/system/taglist.h \
src/system/keyboard.h \
src/system/task.h \
src/system/timer.h \
$$SHARED/array.h \
$$SHARED/log.h \
src/system/mouse.h \
src/system/vesa.h \
src/system/os.h \
src/gui/listbox.h \
src/gui/terminal.h \
src/gui/updown.h \
src/gui/button.h \
src/gui/checkbox.h \
src/gui/frame.h \
src/gui/label.h \
src/gui/picture.h \
src/gui/radio.h \
src/gui/rect.h \
src/gui/textbox.h \
src/gui/font.h \
src/gui/desktop.h \
src/gui/gui.h \
src/gui/widget.h \
src/gui/window.h \
src/gui/image.h \
src/welcome.h
SOURCES = \
$$LINUX_SOURCES \
$$SHARED/thirdparty/memwatch/memwatch.c \
$$SHARED/thirdparty/blowfish-api/blowfish.c \
$$SHARED/thirdparty/ini/src/ini.c \
src/config.c \
$$SHARED/memory.c \
src/settings.c \
src/system/surface.c \
src/system/taglist.c \
$$SHARED/util.c \
src/test.c \
$$SHARED/array.c \
$$SHARED/log.c \
src/system/timer.c \
src/system/task.c \
src/gui/listbox.c \
src/gui/terminal.c \
src/gui/updown.c \
src/gui/font.c \
src/gui/image.c \
src/gui/gui.c \
src/gui/desktop.c \
src/gui/widget.c \
src/gui/window.c \
src/gui/picture.c \
src/gui/radio.c \
src/gui/textbox.c \
src/gui/frame.c \
src/gui/button.c \
src/gui/checkbox.c \
src/gui/label.c \
src/main.c \
src/welcome.c
LIBS = \
-lSDL2
OTHER_FILES = \
$$DOS_HEADERS \
$$DOS_SOURCES \
../Makefile.djgpp \
../build.sh \
../test.sh \
../test.conf \
postBuild.sh
testing {
DEFINES *= TESTING
HEADERS += src/test.h
SOURCES += src/test.c
}
QMAKE_POST_LINK = $$PWD/postBuild.sh "$$PWD" "$$DESTDIR"