pinebuds/services/nv_section/aud_section/Makefile

13 lines
343 B
Makefile
Raw Normal View History

2022-08-15 04:20:27 -05:00
cur_dir := $(dir $(lastword $(MAKEFILE_LIST)))
obj_c := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.c))
obj_cpp := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.cpp))
obj-y := $(obj_c:.c=.o) $(obj_s:.S=.o) $(obj_cpp:.cpp=.o)
ccflags-y := \
-I$(obj)/../../nv_section/aud_section \
-I$(obj)/../../nv_section/include \
-Iutils/crc32