COREFLAGS += -DLIGHTREC -DLIGHTREC_STATIC
EXTRA_INCLUDES += $(DEPS_DIR)/lightning/include \
$(DEPS_DIR)/lightrec \
+ $(DEPS_DIR)/lightrec/tlsf \
$(ROOT_DIR)/include/lightning \
$(ROOT_DIR)/include/lightrec
SOURCES_C += $(DEPS_DIR)/lightrec/blockcache.c \
$(DEPS_DIR)/lightning/lib/jit_print.c \
$(DEPS_DIR)/lightning/lib/jit_size.c \
$(DEPS_DIR)/lightning/lib/lightning.c
- SOURCES_C += $(CORE_DIR)/lightrec/plugin.c $(CORE_DIR)/lightrec/tlsf/tlsf.c
+ SOURCES_C += $(CORE_DIR)/lightrec/plugin.c $(DEPS_DIR)/lightrec/tlsf/tlsf.c
ifeq ($(LIGHTREC_CUSTOM_MAP),1)
SOURCES_C += $(CORE_DIR)/lightrec/mem.c
endif