pinebuds/utils/encrypt/Makefile
2022-08-15 17:20:27 +08:00

17 lines
478 B
Makefile

cur_dir := $(dir $(lastword $(MAKEFILE_LIST)))
obj_c := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.c))
obj_cpp := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.cpp))
src_obj := $(obj_c:.c=.o) $(obj_s:.S=.o) $(obj_cpp:.cpp=.o)
ENCRYPT_LIB_NAME := libcryption
$(ENCRYPT_LIB_NAME)-y := $(src_obj)
obj-y += $(ENCRYPT_LIB_NAME).a
ccflags-y := \
-Iservices/bt_profiles/inc/ \
-Iservices/bt_if/inc/ \
-Iservices/bt_app/ \
-Iapps/common/ \
-Iutils/cqueue