mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
fix README and makefile
fix https://github.com/chrislusf/seaweedfs/issues/1548
This commit is contained in:
parent
3ac77dcc7c
commit
6e8c2bfdd0
3
Makefile
3
Makefile
|
@ -36,6 +36,9 @@ deps:
|
||||||
build: deps
|
build: deps
|
||||||
go build $(GO_FLAGS) -ldflags "$(LDFLAGS)" -o $(BINARY) $(SOURCE_DIR)
|
go build $(GO_FLAGS) -ldflags "$(LDFLAGS)" -o $(BINARY) $(SOURCE_DIR)
|
||||||
|
|
||||||
|
install: deps
|
||||||
|
go install $(GO_FLAGS) -ldflags "$(LDFLAGS)" $(SOURCE_DIR)
|
||||||
|
|
||||||
linux: deps
|
linux: deps
|
||||||
mkdir -p linux
|
mkdir -p linux
|
||||||
GOOS=linux GOARCH=amd64 go build $(GO_FLAGS) -ldflags "$(LDFLAGS)" -o linux/$(BINARY) $(SOURCE_DIR)
|
GOOS=linux GOARCH=amd64 go build $(GO_FLAGS) -ldflags "$(LDFLAGS)" -o linux/$(BINARY) $(SOURCE_DIR)
|
||||||
|
|
Loading…
Reference in a new issue