2024-02-22 11:31:35 +00:00
|
|
|
#
|
|
|
|
# Tibia
|
|
|
|
#
|
|
|
|
# Copyright (C) 2023, 2024 Orastron Srl unipersonale
|
|
|
|
#
|
|
|
|
# Tibia 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, version 3 of the License.
|
|
|
|
#
|
|
|
|
# Tibia 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 Tibia. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
#
|
|
|
|
# File author: Stefano D'Angelo
|
|
|
|
#
|
|
|
|
|
2024-01-31 14:50:07 +00:00
|
|
|
include vars.mk
|
|
|
|
|
|
|
|
TARGET = ${BUNDLE_NAME}
|
|
|
|
|
2024-02-01 07:05:45 +00:00
|
|
|
COMMON_DIR := $(or $(COMMON_DIR),.)
|
|
|
|
DATA_DIR := $(or $(DATA_DIR),.)
|
|
|
|
PLUGIN_DIR := $(or $(PLUGIN_DIR),src)
|
2024-01-31 14:50:07 +00:00
|
|
|
|
2024-02-02 12:18:34 +00:00
|
|
|
CPP_SOURCES = ${COMMON_DIR}/src/main.cpp ${CXX_SRCS_EXTRA}
|
2024-02-01 07:05:45 +00:00
|
|
|
|
|
|
|
SYSTEM_FILES_DIR = ${LIBDAISY_DIR}/core
|
2024-01-31 14:50:07 +00:00
|
|
|
|
|
|
|
include ${SYSTEM_FILES_DIR}/Makefile
|
|
|
|
|
2024-02-02 12:18:34 +00:00
|
|
|
C_SOURCES += ${C_SRCS_EXTRA}
|
|
|
|
|
2024-02-01 07:05:45 +00:00
|
|
|
CFLAGS += -I${DATA_DIR}/src -I${PLUGIN_DIR} ${CFLAGS_EXTRA}
|
2024-02-20 10:23:09 +00:00
|
|
|
LDFLAGS += ${LDFLAGS_EXTRA}
|
2024-02-02 12:18:34 +00:00
|
|
|
CXXFLAGS += -I${DATA_DIR}/src -I${PLUGIN_DIR} ${CXXFLAGS_EXTRA}
|