21 lines
874 B
Makefile
21 lines
874 B
Makefile
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}
|
|
|
|
.PHONY: mqtt_sample ota_sample shadow_sample dynamic_auth_sample dev_model_sample samples_final smart_bracelet_heart_rate_shadow_sample smart_bracelet_walk_step_shadow_sample download_file_sample upload_file_sample http_client_sample
|
|
|
|
final : mqtt_sample ota_sample shadow_sample dynamic_auth_sample dev_model_sample samples_final smart_bracelet_heart_rate_shadow_sample smart_bracelet_walk_step_shadow_sample download_file_sample upload_file_sample http_client_sample |