Skip to content
Snippets Groups Projects
Commit 16709af0 authored by Andrew E. Torda's avatar Andrew E. Torda
Browse files

Added cross compiling for Mac.

parent b80f6655
No related branches found
No related tags found
No related merge requests found
......@@ -14,6 +14,9 @@ LINTER=~/go/bin/linux_amd64/golangci-lint
all:
$(GO) build -o bin .
$(GO) build -o bin/ackley_nogfx -tags no_gfx -- .
GOOS=darwin GOARCH=amd64 $(GO) build -o bin/ackley_darwinamd64_nogfx -tags no_gfx -- .
GOOS=darwin GOARCH=arm64 $(GO) build -o bin/ackley_darwinarm64_nogfx -tags no_gfx -- .
GOOS=windows GOARCH=amd64 $(GO) build -o bin/ackley_win_nogfx -tags no_gfx -- .
test:
$(GO) test ./...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment