ipld-eth-server/vendor/github.com/libp2p/go-libp2p-autonat/pb/Makefile
Elizabeth Engelman 36533f7c3f Update vendor directory and make necessary code changes
Fixes for new geth version
2019-09-25 16:32:27 -05:00

7 lines
147 B
Makefile

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