pinebuds/thirdparty/userapi/Makefile

14 lines
308 B
Makefile
Raw Permalink Normal View History

2022-08-15 04:20:27 -05:00
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)
obj-y += $(foreach lib,$(THIRDPARTY_LIB),$(lib)_app/)
subdir-ccflags-y += \
-Iutils/list