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

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