SHELL := /bin/bash INPUT ?= examples/sample.whl OUTPUT ?= output .PHONY: help repack rebuild native clean help: @echo "EcoArk HarmonyOS Wheel Pipeline" @echo "" @echo "Usage:" @echo " make repack INPUT=path/to/pkg.whl — Repack a pure-Python wheel for HarmonyOS" @echo " make rebuild INPUT=path/to/pkg.whl — Trigger native rebuild entry (stub)" @echo " make clean — Remove output/" @echo "" @echo "Examples:" @echo " make repack INPUT=some_package.whl" @echo " make rebuild INPUT=some_native.whl" repack: python3 wheel_pipeline.py "$(INPUT)" --output-dir "$(OUTPUT)" --force-repack rebuild: python3 wheel_pipeline.py "$(INPUT)" --output-dir "$(OUTPUT)" --target-os harmonyos --arch arm64 native: python3 wheel_pipeline.py "$(INPUT)" --output-dir "$(OUTPUT)" --target-os harmonyos --arch arm64 clean: rm -rf "$(OUTPUT)" mkdir -p "$(OUTPUT)" touch "$(OUTPUT)/.gitkeep"