go-libp2p-core/routing/pb/Makefile
2019-12-20 16:13:11 -05:00

12 lines
177 B
Makefile

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