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

7 lines
147 B
Makefile

pbgos := $(patsubst %.proto,%.pb.go,$(wildcard *.proto))
all: $(pbgos)
%.pb.go: %.proto
protoc --gogofast_out=. --proto_path=$(GOPATH)/src:. $<