ucloud-iot-device-sdk-c/tools/scripts/rules-final.mk

21 lines
914 B
Makefile
Raw Permalink Normal View History

2019-08-01 10:30:53 +08:00
final-out : ${COMP_LIB} ${PLATFORM_LIB}
$(TOP_Q) \
mkdir -p ${FINAL_DIR} ${DIST_DIR} ${FINAL_DIR}/lib \
${FINAL_DIR}/include ${FINAL_DIR}/bin \
${FINAL_DIR}/unittest
$(TOP_Q) \
mv ${COMP_LIB} ${FINAL_DIR}/lib/ && \
mv ${PLATFORM_LIB} ${FINAL_DIR}/lib
ifneq (,$(filter -DSUPPORT_TLS,$(CFLAGS)))
$(TOP_Q) \
mv ${TEMP_DIR}/*.a ${FINAL_DIR}/lib/
endif
$(TOP_Q) \
rm -rf ${TEMP_DIR}
2020-06-12 17:39:42 +08:00
.PHONY: mqtt_sample ota_sample shadow_sample dynamic_auth_sample dev_model_sample dev_model_sample_ex samples_final smart_bracelet_heart_rate_shadow_sample smart_bracelet_walk_step_shadow_sample download_file_sample upload_file_sample http_client_sample
2019-08-01 10:30:53 +08:00
2020-06-12 17:39:42 +08:00
final : mqtt_sample ota_sample shadow_sample dynamic_auth_sample dev_model_sample dev_model_sample_ex samples_final smart_bracelet_heart_rate_shadow_sample smart_bracelet_walk_step_shadow_sample download_file_sample upload_file_sample http_client_sample