From 478bd2077b4e658981822276d33deb0c8adf0983 Mon Sep 17 00:00:00 2001 From: palm93 Date: Sat, 11 Feb 2023 23:28:29 +0100 Subject: [PATCH] build: fix binaries not being built Without -o, when multiple packages are built, go build discards the resulting binaries. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 1ec591b..9caff35 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,7 @@ goflags := $(GOFLAGS) -ldflags=" \ all: soju sojudb sojuctl doc/soju.1 soju: - $(GO) build $(goflags) ./cmd/soju ./cmd/sojudb ./cmd/sojuctl + $(GO) build $(goflags) -o . ./cmd/soju ./cmd/sojudb ./cmd/sojuctl sojudb sojuctl: soju doc/soju.1: doc/soju.1.scd $(SCDOC) doc/soju.1