From 6a3975b8d107401b20178aac175098aedc2e79f5 Mon Sep 17 00:00:00 2001 From: boypt Date: Wed, 19 Dec 2018 17:53:17 +0800 Subject: [PATCH] add linux suffix --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 14c116c..6759e46 100644 --- a/Makefile +++ b/Makefile @@ -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)"; \