From 8c4b226779faa9ec2bc7281f14b68444991ecc6a Mon Sep 17 00:00:00 2001 From: ditatompel Date: Mon, 6 May 2024 19:55:41 +0700 Subject: [PATCH] Adding arm64 to make command --- Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 35ea819..1d3257e 100644 --- a/Makefile +++ b/Makefile @@ -1,15 +1,18 @@ -.PHONY: ui build linux64 +.PHONY: ui build linux-amd64 linux-arm64 BINARY_NAME = xmr-nodes -build: ui linux64 +build: ui linux-amd64 linux-arm64 ui: go generate ./... -linux64: +linux-amd64: CGO_ENABLED=0 GOARCH=amd64 GOOS=linux go build -o bin/${BINARY_NAME}-static-linux-amd64 +linux-arm64: + CGO_ENABLED=0 GOARCH=arm64 GOOS=linux go build -o bin/${BINARY_NAME}-static-linux-arm64 + clean: go clean rm -rfv ./bin