diff --git a/Makefile b/Makefile index 5e380b0..949368c 100644 --- a/Makefile +++ b/Makefile @@ -16,6 +16,13 @@ build: GO111MODULE=off go build -v \ -ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}" +build-darwin: + GOOS=darwin GOARCH=amd64 GO111MODULE=off go build -v -o go-clone-darwin \ + -ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}" +build-windows: + GOOS=windows GOARCH=amd64 GO111MODULE=off go build -v go-clone.exe \ + -ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}" + install: GO111MODULE=off go install \ -ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}"