From 67ccc19fdd84374741784c61baac7ad8a92951ec Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Mon, 6 Feb 2023 15:26:10 +0100 Subject: [PATCH] build: invoke `go build` once only --- Makefile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index f85d1f4..1ec591b 100644 --- a/Makefile +++ b/Makefile @@ -18,11 +18,8 @@ goflags := $(GOFLAGS) -ldflags=" \ all: soju sojudb sojuctl doc/soju.1 soju: - $(GO) build $(goflags) ./cmd/soju -sojudb: - $(GO) build $(goflags) ./cmd/sojudb -sojuctl: - $(GO) build $(goflags) ./cmd/sojuctl + $(GO) build $(goflags) ./cmd/soju ./cmd/sojudb ./cmd/sojuctl +sojudb sojuctl: soju doc/soju.1: doc/soju.1.scd $(SCDOC) doc/soju.1