esp-who/components/esp-sr/component.mk

17 lines
609 B
Makefile
Raw Normal View History

2020-08-07 11:10:29 +08:00
COMPONENT_ADD_INCLUDEDIRS := lib/include \
wake_word_engine/include \
acoustic_algorithm/include \
LIB_FILES := $(shell ls $(COMPONENT_PATH)/wake_word_engine/lib*.a) \
$(shell ls $(COMPONENT_PATH)/lib/lib*.a) \
$(shell ls $(COMPONENT_PATH)/acoustic_algorithm/lib*.a) \
LIBS := $(patsubst lib%.a,-l%,$(LIB_FILES))
COMPONENT_ADD_LDFLAGS += -L$(COMPONENT_PATH)/lib \
-L$(COMPONENT_PATH)/wake_word_engine \
-L$(COMPONENT_PATH)/acoustic_algorithm \
$(LIBS)