Fix Makefile to use OS and ARCH var

This commit is contained in:
Arnaud 2025-10-15 06:49:28 +02:00
parent 043f784359
commit 7a09d02768
No known key found for this signature in database
GPG Key ID: 20E40A5D3110766F

View File

@ -20,7 +20,7 @@ all: run
fetch:
@echo "Fetching libcodex from GitHub Actions: ${LATEST_URL}"
@curl -fSL --create-dirs -o $(LIBS_DIR)/codex-${OS}-${ARCH}.zip ${LATEST_URL}
@unzip $(LIBS_DIR)/codex-linux-amd64.zip -d $(LIBS_DIR)
@unzip $(LIBS_DIR)/codex-${OS}-${ARCH}.zip -d $(LIBS_DIR)
@rm -f $(LIBS_DIR)/*.zip
build: