summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2017-10-09 18:43:42 +0200
committerSebastien Douheret <sebastien.douheret@iot.bzh>2017-10-09 18:43:42 +0200
commitb91f9fa7fe99aa9b0eed5a847baa67f1c678208a (patch)
tree5b3504799efc59ff04d740334ff3b4f688dd362a
parent4db1132c1cb1ffe1425b8ff5266f9f7220aeffe3 (diff)
Fixed generated binary name
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
-rw-r--r--Makefile4
1 files 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)