summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index b9d5d51..0d8853e 100644
--- a/Makefile
+++ b/Makefile
@@ -2,16 +2,14 @@ TARGET_EXEC := ceres
BUILD_DIR := ./build
MODULE_NAME := xengineering.eu/ceres
-VERSION := $(shell git describe --dirty --always)
-
all: $(BUILD_DIR)/$(TARGET_EXEC)
$(BUILD_DIR)/$(TARGET_EXEC):
- go build -ldflags "-X main.version=$(VERSION)" -o $@ $(MODULE_NAME)
+ go build -o $@ $(MODULE_NAME)
.PHONY: debug
debug:
- go run -race -ldflags "-X main.version=$(VERSION)" $(MODULE_NAME) -e
+ go run -race $(MODULE_NAME) -e
.PHONY: tests
tests: