tibia/templates/daisy-seed-make/Makefile

20 lines
474 B
Makefile
Raw Normal View History

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-19 13:40:03 +00:00
LDFLAGS += -lm ${LDFLAGS_EXTRA}
2024-02-02 12:18:34 +00:00
CXXFLAGS += -I${DATA_DIR}/src -I${PLUGIN_DIR} ${CXXFLAGS_EXTRA}