Files
TencentOS-tiny/components/connectivity/iotkit-embedded-3.0.1/3rdparty/src/coap/iot.mk
dcxajichu 8c24d921b0 support aliyun sdk on TencentOS tiny
sample: examples\aliyun_iotkit_csdk_mqtt
project: board\TencentOS_tiny_EVB_MX_Plus\KEIL\aliyun_iotkit_csdk_mqtt
2019-10-31 16:36:28 +08:00

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)