20 lines
470 B
Makefile
20 lines
470 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 ${CXX_SRCS_EXTRA}
|
|
|
|
SYSTEM_FILES_DIR = ${LIBDAISY_DIR}/core
|
|
|
|
include ${SYSTEM_FILES_DIR}/Makefile
|
|
|
|
C_SOURCES += ${C_SRCS_EXTRA}
|
|
|
|
CFLAGS += -I${DATA_DIR}/src -I${PLUGIN_DIR} ${CFLAGS_EXTRA}
|
|
LDFLAGS += ${LDFLAGS_EXTRA}
|
|
CXXFLAGS += -I${DATA_DIR}/src -I${PLUGIN_DIR} ${CXXFLAGS_EXTRA}
|