
sample: examples\aliyun_iotkit_csdk_mqtt project: board\TencentOS_tiny_EVB_MX_Plus\KEIL\aliyun_iotkit_csdk_mqtt
17 lines
723 B
Makefile
17 lines
723 B
Makefile
LIBA_TARGET := libiot_http2.a
|
|
|
|
HDR_REFS += src/infra
|
|
|
|
DEPENDS += wrappers external_libs/nghttp2
|
|
LDFLAGS += -liot_sdk -liot_hal -liot_tls -liot_nghttp2
|
|
|
|
LIB_SRCS_EXCLUDE := examples/http2_example_stream.c examples/http2_example_uploadfile.c examples/http2_example_break_resume.c
|
|
|
|
SRCS_http2-example-stream += examples/http2_example_stream.c
|
|
SRCS_http2-example-uploadfile += examples/http2_example_uploadfile.c
|
|
SRCS_http2-example-break-resume += examples/http2_example_break_resume.c
|
|
|
|
$(call Append_Conditional, TARGET, http2-example-stream, HTTP2_COMM_ENABLED)
|
|
$(call Append_Conditional, TARGET, http2-example-uploadfile http2-example-break-resume, HTTP2_COMM_ENABLED FS_ENABLED)
|
|
|