github.com/zignig/go-ipfs@v0.0.0-20141111235910-c9e5fdf55a52/net/handshake/pb/Makefile (about)

     1  
     2  PB = $(wildcard *.proto)
     3  GO = $(PB:.proto=.pb.go)
     4  
     5  all: $(GO)
     6  
     7  %.pb.go: %.proto
     8  	protoc --gogo_out=. --proto_path=../../../../../../:/usr/local/opt/protobuf/include:. $<
     9  
    10  clean:
    11  	rm *.pb.go