Commit fdcf3f6d authored by Brian Tiger Chow's avatar Brian Tiger Chow

chore(crypto/spipe) use generic Makefile

parent d3ac9cee
PB = $(wildcard *.proto)
GO = $(PB:.proto=.pb.go)
all: spipe.pb.go
all: $(GO)
spipe.pb.go: spipe.proto
protoc --gogo_out=. --proto_path=../../../../../:/usr/local/opt/protobuf/include:. $<
%.pb.go: %.proto
protoc --gogo_out=. --proto_path=../../../../../../:/usr/local/opt/protobuf/include:. $<
clean:
rm spipe.pb.go
rm *.pb.go
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment