
sample: examples\aliyun_iotkit_csdk_mqtt project: board\TencentOS_tiny_EVB_MX_Plus\KEIL\aliyun_iotkit_csdk_mqtt
13 lines
592 B
Makefile
13 lines
592 B
Makefile
LIBA_TARGET := libiot_coap.a
|
|
HDR_REFS := src/infra
|
|
LIB_SRCS_PATTERN := *.c
|
|
|
|
$(call Append_Conditional, LIB_SRCS_PATTERN, client/*.c, COAP_CLIENT)
|
|
$(call Append_Conditional, LIB_SRCS_PATTERN, CoAPPacket/*.c, COAP_PACKET)
|
|
$(call Append_Conditional, LIB_SRCS_PATTERN, server/*.c, COAP_SERVER)
|
|
|
|
LDFLAGS += -liot_sdk -liot_hal -liot_tls
|
|
|
|
$(call Append_Conditional, LIB_SRCS_EXCLUDE, examples/coap_example.c, COAP_CLIENT)
|
|
$(call Append_Conditional, SRCS_coap-example, examples/coap_example.c, COAP_CLIENT)
|
|
$(call Append_Conditional, TARGET, coap-example, COAP_CLIENT) |