build: fix binaries not being built
Without -o, when multiple packages are built, go build discards the resulting binaries.
This commit is contained in:
parent
20b1159c02
commit
478bd2077b
2
Makefile
2
Makefile
@ -18,7 +18,7 @@ goflags := $(GOFLAGS) -ldflags=" \
|
|||||||
all: soju sojudb sojuctl doc/soju.1
|
all: soju sojudb sojuctl doc/soju.1
|
||||||
|
|
||||||
soju:
|
soju:
|
||||||
$(GO) build $(goflags) ./cmd/soju ./cmd/sojudb ./cmd/sojuctl
|
$(GO) build $(goflags) -o . ./cmd/soju ./cmd/sojudb ./cmd/sojuctl
|
||||||
sojudb sojuctl: soju
|
sojudb sojuctl: soju
|
||||||
doc/soju.1: doc/soju.1.scd
|
doc/soju.1: doc/soju.1.scd
|
||||||
$(SCDOC) <doc/soju.1.scd >doc/soju.1
|
$(SCDOC) <doc/soju.1.scd >doc/soju.1
|
||||||
|
Loading…
Reference in New Issue
Block a user