tibia/templates/daisy-seed-make/Makefile

17 lines
379 B
Makefile

include vars.mk
TARGET = ${BUNDLE_NAME}
COMMON_DIR := $(or $(COMMON_DIR),.)
DATA_DIR := $(or $(DATA_DIR),.)
PLUGIN_DIR := $(or $(PLUGIN_DIR),src)
CPP_SOURCES = ${COMMON_DIR}/src/main.cpp ${CPP_SOURCES_EXTRA}
SYSTEM_FILES_DIR = ${LIBDAISY_DIR}/core
include ${SYSTEM_FILES_DIR}/Makefile
CFLAGS += -I${DATA_DIR}/src -I${PLUGIN_DIR} ${CFLAGS_EXTRA}
LDFLAGS += ${LDFLAGS_EXTRA}