diff --git a/Makefile b/Makefile index de7479a..4add9cb 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ GO ?= $(shell type -a -P go | head -n 1) VERSION ?= $(shell git describe --tags --dirty) build: - mkdir build + mkdir -p build cd src/enit; $(GO) build -ldflags "-w -X main.version=$(VERSION)" -o ../../build/enit enit cd src/esvm; $(GO) build -ldflags "-w -X main.version=$(VERSION)" -o ../../build/esvm esvm cd src/ectl; $(GO) build -ldflags "-w -X main.version=$(VERSION) -X main.sysconfdir=$(SYSCONFDIR) -X main.runstatedir=$(RUNSTATEDIR)" -o ../../build/ectl ectl