mirror of
https://github.com/ditatompel/xmr-remote-nodes.git
synced 2024-12-22 11:39:23 +00:00
Adding arm64 to make command
This commit is contained in:
parent
47c2dfb60b
commit
8c4b226779
1 changed files with 6 additions and 3 deletions
9
Makefile
9
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
|
||||
|
|
Loading…
Reference in a new issue