Adding arm64 to make command

This commit is contained in:
ditatompel 2024-05-06 19:55:41 +07:00
parent 47c2dfb60b
commit 8c4b226779
No known key found for this signature in database
GPG key ID: 31D3D06D77950979

View file

@ -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