1cur_dir := $(dir $(lastword $(MAKEFILE_LIST)))
2
3obj-y := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.c $(cur_dir)*.cpp $(cur_dir)*.S))
4obj-y := $(obj-y:.c=.o)
5obj-y := $(obj-y:.cpp=.o)
6obj-y := $(obj-y:.S=.o)
7
8ifeq ($(USE_KNOWLES),1)
9obj-y += comminication_knowles/
10endif
11
12ccflags-y += \
13	-Iapps/common \
14	-Iplatform/drivers/usb/usb_dev/inc \
15	-Iplatform/drivers/ana \
16	$(BT_IF_INCLUDES) \
17	-Iservices/communication/comminication_knowles \
18	-Ithirdparty/knowles_uart_lib \
19	-Iutils/crc32
20
21