OSDN Git Service

Merge pull request #31 from Bytom/dev_ipfs_transaction
[bytom/vapor.git] / vendor / github.com / libp2p / go-libp2p-crypto / pb / Makefile
1 PB = $(wildcard *.proto)
2 GO = $(PB:.proto=.pb.go)
3
4 all: $(GO)
5
6 %.pb.go: %.proto
7                 protoc --proto_path=$(GOPATH)/src:. --gogofaster_out=. $<
8
9 clean:
10                 rm -f *.pb.go
11                 rm -f *.go