Skip to content

Commit

Permalink
Merge pull request #28 from ddymko/makefile_changes
Browse files Browse the repository at this point in the history
Makefile updates
  • Loading branch information
ddymko authored Jul 2, 2019
2 parents a504997 + 56e6af1 commit 135d3e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ build_windows_32: _build_win
_build:
@mkdir -p builds
@echo "building vultr-cli"
env GOOS=$(GOOS) GOARCH=$(GOARCH) go build -o $(DIR)/vultr-cli_$(GOOS)_$(GOARCH)
env GOOS=$(GOOS) GOARCH=$(GOARCH) go build -gcflags=-trimpath=$$GOPATH -o $(DIR)/vultr-cli_$(GOOS)_$(GOARCH)
@echo "built $(DIR)/vultr-cli_$(GOOS)_$(GOARCH)"

_build_win:
@mkdir -p builds
@echo "building vultr-cli"
env GOOS=$(GOOS) GOARCH=$(GOARCH) go build -o $(DIR)/vultr-cli_$(GOOS)_$(GOARCH).exe
env GOOS=$(GOOS) GOARCH=$(GOARCH) go build -gcflags=-trimpath=$$GOPATH -o $(DIR)/vultr-cli_$(GOOS)_$(GOARCH).exe
@echo "built $(DIR)/vultr-cli_$(GOOS)_$(GOARCH)"

remove:
Expand Down

0 comments on commit 135d3e5

Please sign in to comment.