go-libp2p-pubsub/pb/Makefile
Steven Allen ca4bfd6539 update gogo protobuf
and rebuild protobuf file
2018-08-08 10:59:27 -07:00

12 lines
175 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
rm -f *.go