Skip to content

Commit

Permalink
add linux suffix
Browse files Browse the repository at this point in the history
  • Loading branch information
boypt committed Dec 19, 2018
1 parent ea2b9f1 commit 6a3975b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ bin=ydcv
all: clean $(bin)

$(bin):
CGO_ENABLED=0 GOARCH=amd64 GOOS=linux go build -o $(bin) -ldflags "-s -w -X main.VERSION=git-$$(git rev-parse --short HEAD)"; \
CGO_ENABLED=0 GOARCH=amd64 GOOS=linux go build -o $(bin)_linux -ldflags "-s -w -X main.VERSION=git-$$(git rev-parse --short HEAD)"; \
CGO_ENABLED=0 GOARCH=amd64 GOOS=windows go build -o $(bin).exe -ldflags "-s -w -X main.VERSION=git-$$(git rev-parse --short HEAD)"; \
CGO_ENABLED=0 GOARCH=amd64 GOOS=darwin go build -o $(bin)_darwin -ldflags "-s -w -X main.VERSION=git-$$(git rev-parse --short HEAD)"; \

Expand Down

0 comments on commit 6a3975b

Please sign in to comment.