diff --git a/Makefile b/Makefile index e403be0817f..e1a8b21fe21 100644 --- a/Makefile +++ b/Makefile @@ -60,10 +60,10 @@ $(BUILD_DIR)/$(PROJECT)-%-$(GOARCH): $(GO_FILES) $(BUILD_DIR) GOOS=$* GOARCH=$(GOARCH) CGO_ENABLED=0 go build -ldflags $(GO_LDFLAGS) -tags $(GO_BUILD_TAGS) -o $@ $(BUILD_PACKAGE) %.sha256: % - shasum -a 256 $< &> $@ + shasum -a 256 $< > $@ %.exe: % - mv $< $@ + cp $< $@ $(BUILD_DIR): mkdir -p $(BUILD_DIR)