status-go/vendor/github.com/libp2p/go-libp2p-secio/pb/Makefile

12 lines
177 B
Makefile
Raw Normal View History

2019-06-09 07:24:20 +00:00
PB = $(wildcard *.proto)
GO = $(PB:.proto=.pb.go)
all: $(GO)
%.pb.go: %.proto
protoc --proto_path=$(GOPATH)/src:. --gogofaster_out=. $<
clean:
rm -f *.pb.go
rm -f *.go