15 lines
383 B
Makefile
15 lines
383 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)
|
||
|
|
||
|
ccflags-y := \
|
||
|
-Iservices/multimedia/audio/process/resample/include \
|
||
|
|
||
|
ifeq ($(RESAMPLE_ANY_SAMPLE_RATE),1)
|
||
|
CFLAGS_resample_coef.o += -DRESAMPLE_ANY_SAMPLE_RATE
|
||
|
endif
|
||
|
|