From 6e8c2bfdd03f46638e7f774adde00451eb35ce6d Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Tue, 20 Oct 2020 18:24:03 -0700 Subject: [PATCH] fix README and makefile fix https://github.com/chrislusf/seaweedfs/issues/1548 --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 830e3ca76..9a62eb9fe 100644 --- a/Makefile +++ b/Makefile @@ -36,6 +36,9 @@ deps: build: deps go build $(GO_FLAGS) -ldflags "$(LDFLAGS)" -o $(BINARY) $(SOURCE_DIR) +install: deps + go install $(GO_FLAGS) -ldflags "$(LDFLAGS)" $(SOURCE_DIR) + linux: deps mkdir -p linux GOOS=linux GOARCH=amd64 go build $(GO_FLAGS) -ldflags "$(LDFLAGS)" -o linux/$(BINARY) $(SOURCE_DIR)