@cryptotaxi247 / kubo / commits / fdcf3f6d3

chore(crypto/spipe) use generic Makefile

Brian Tiger Chow committed Oct 22, 2014 at 21:39 UTC fdcf3f6d34ae2c2252314551dd9628388ad8721a
1 file changed +6 -4
crypto/spipe/internal/pb/Makefile
+6 -4
@@ -1,8 +1,10 @@
1 +PB = $(wildcard *.proto)
2 +GO = $(PB:.proto=.pb.go)
3
2 -all: spipe.pb.go
4 +all: $(GO)
5
4 -spipe.pb.go: spipe.proto
5 - protoc --gogo_out=. --proto_path=../../../../../:/usr/local/opt/protobuf/include:. $<
6 +%.pb.go: %.proto
7 + protoc --gogo_out=. --proto_path=../../../../../../:/usr/local/opt/protobuf/include:. $<
8
9 clean:
8 - rm spipe.pb.go
10 + rm *.pb.go