18 lines
565 B
Makefile
18 lines
565 B
Makefile
cur_dir := $(dir $(lastword $(MAKEFILE_LIST)))
|
|
|
|
obj-y := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.c $(cur_dir)*.cpp $(cur_dir)*.S))
|
|
obj-y := $(obj-y:.c=.o)
|
|
obj-y := $(obj-y:.cpp=.o)
|
|
obj-y := $(obj-y:.S=.o)
|
|
|
|
subdir-ccflags-y += -Iplatform/drivers/ana \
|
|
$(BT_IF_INCLUDES) \
|
|
-Iservices/ble_app/app_main \
|
|
-Iservices/app_ibrt/inc \
|
|
-Iservices/ibrt_ui/inc \
|
|
-Iservices/ibrt_core/inc
|
|
|
|
ifeq ($(VOICE_PROMPT),1)
|
|
CFLAGS_app_battery.o += -DMEDIA_PLAYER_SUPPORT
|
|
endif
|
|
|