From b91f9fa7fe99aa9b0eed5a847baa67f1c678208a Mon Sep 17 00:00:00 2001 From: Sebastien Douheret Date: Mon, 9 Oct 2017 18:43:42 +0200 Subject: [PATCH] Fixed generated binary name Signed-off-by: Sebastien Douheret --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 334c47d..017cb29 100644 --- a/Makefile +++ b/Makefile @@ -58,8 +58,8 @@ all: build .PHONY: build build: vendor - @echo "### Build $@ (version $(VERSION), subversion $(SUB_VERSION)) - $(BUILD_MODE)"; - @cd $(ROOT_SRCDIR); $(BUILD_ENV_FLAGS) go build $(VERBOSE_$(V)) -i -o $(BINDIR)/$@$(EXT) -ldflags "$(GORELEASE) -X main.AppVersion=$(VERSION) -X main.AppSubVersion=$(SUB_VERSION)" . + @echo "### Build xds-gdb (version $(VERSION), subversion $(SUB_VERSION)) - $(BUILD_MODE)"; + @cd $(ROOT_SRCDIR); $(BUILD_ENV_FLAGS) go build $(VERBOSE_$(V)) -i -o $(BINDIR)/xds-gdb$(EXT) -ldflags "$(GORELEASE) -X main.AppVersion=$(VERSION) -X main.AppSubVersion=$(SUB_VERSION)" . test: tools/glide go test --race $(shell ./tools/glide novendor) -- 2.16.6