2018-05-17 23:45:16 +00:00
|
|
|
# go source files
|
|
|
|
SRC := $(shell find .. -type f -name '*.go')
|
|
|
|
|
2017-01-23 12:34:22 +00:00
|
|
|
all: ipfs-cluster-ctl
|
2016-12-22 16:14:15 +00:00
|
|
|
|
2018-05-17 23:45:16 +00:00
|
|
|
ipfs-cluster-ctl: $(SRC)
|
2019-10-28 09:23:18 +00:00
|
|
|
go build -mod=readonly
|
2016-12-22 16:14:15 +00:00
|
|
|
|
2017-01-24 15:24:46 +00:00
|
|
|
build: ipfs-cluster-ctl
|
|
|
|
|
2016-12-22 16:14:15 +00:00
|
|
|
install:
|
|
|
|
go install
|
|
|
|
|
|
|
|
clean:
|
2017-01-23 12:34:22 +00:00
|
|
|
rm -f ipfs-cluster-ctl
|
2016-12-22 16:14:15 +00:00
|
|
|
|
2017-01-24 15:24:46 +00:00
|
|
|
.PHONY: clean install build
|