pinebuds/utils/encrypt/Makefile

18 lines
478 B
Makefile
Raw Permalink 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))
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