未验证 提交 450bef3e 编写于 作者: J Jimmi Dyson

Add cross compile Makefile target, including building for Windows

上级 2e709756
......@@ -81,6 +81,13 @@ $(GOPATH)/bin/go-bindata:
$(MKGOPATH)
GOBIN=$(GOPATH)/bin go get github.com/jteeuwen/go-bindata/...
.PHONY: cross
cross: out/localkube
GOOS=linux GOARCH=amd64 make out/minikube-linux-amd64
GOOS=darwin GOARCH=amd64 make out/minikube-darwin-amd64
GOOS=windows GOARCH=amd64 make out/minikube-windows-amd64
mv out/minikube-windows-amd64 out/minikube-windows-amd64.exe
.PHONY: clean
clean:
rm -rf $(GOPATH)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册