depot/packages/networking/ipfs-cluster/cmd/ipfs-cluster-ctl/Makefile

20 lines
325 B
Makefile
Raw Normal View History

2022-10-19 23:23:11 +03:00
# go source files
SRC := $(shell find ../.. -type f -name '*.go')
GOPATH := $(shell go env GOPATH)
GOFLAGS := "-trimpath"
all: ipfs-cluster-ctl
ipfs-cluster-ctl: $(SRC)
go build $(GOFLAGS) -mod=readonly
build: ipfs-cluster-ctl
install:
go install $(GOFLAGS)
clean:
rm -f ipfs-cluster-ctl
.PHONY: clean install build