forked from espressif/esp-sr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
component.mk
21 lines (15 loc) · 857 Bytes
/
component.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
COMPONENT_ADD_INCLUDEDIRS := lib/include \
wake_word_engine/include \
speech_command_recognition/include \
acoustic_algorithm/include \
COMPONENT_SRCDIRS := speech_command_recognition
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) \
$(shell ls $(COMPONENT_PATH)/speech_command_recognition/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)/speech_command_recognition \
-L$(COMPONENT_PATH)/acoustic_algorithm \
$(LIBS)