go-libp2p-peerstore/pb/Makefile
2018-11-15 13:40:48 +00:00

12 lines
176 B
Makefile

PB = $(wildcard *.proto)
GO = $(PB:.proto=.pb.go)
all: $(GO)
%.pb.go: %.proto
protoc --proto_path=$(GOPATH)/src:. --gogofast_out=. $<
clean:
rm -f *.pb.go
.PHONY: clean