.SHELLFLAGS := -e -c SHELL := /bin/bash # Configuration variables NATIVE_ANDROID = ../Native-LLM-for-Android QWEN_VL_DIR = $(NATIVE_ANDROID)/Export_ONNX/QwenVL ONNX_SRC_DIR = $(QWEN_VL_DIR)/onnx ONNX_DEST_DIR = $(QWEN_VL_DIR)/onnx-dist STAGING_DIR = /tmp/transformers.js/staging TRANSFORMERS_JS_PATH = ../transformers.js ONNX_TOOLS_PATH = $(NATIVE_ANDROID)/ONNX_Tools # Python paths from venvs NATIVE_PYTHON = $(NATIVE_ANDROID)/.venv/bin/python3 TRANSFORMERS_PYTHON = $(TRANSFORMERS_JS_PATH)/.venv/bin/python3 # Model parts PARTS = A B C D E define progress_bar total=$$(echo $(1) | wc -w | tr -d ' '); \ current=0; \ for item in $(1); do \ current=$$((current + 1)); \ printf "\r Progress: \033[1;32m["; \ for ((i=0; i