From: Sebastien Douheret Date: Mon, 9 Oct 2017 16:43:42 +0000 (+0200) Subject: Fixed generated binary name X-Git-Tag: v0.1.1~2 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=src%2Fxds%2Fxds-gdb.git;a=commitdiff_plain;h=b91f9fa7fe99aa9b0eed5a847baa67f1c678208a Fixed generated binary name Signed-off-by: Sebastien Douheret --- 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)