mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-22 02:47:48 +08:00
we shouldn't use internal packages. License: MIT Signed-off-by: Juan Batiz-Benet <juan@benet.ai>
11 lines
192 B
Makefile
11 lines
192 B
Makefile
PB = $(wildcard *.proto)
|
|
GO = $(PB:.proto=.pb.go)
|
|
|
|
all: $(GO)
|
|
|
|
%.pb.go: %.proto
|
|
protoc --gogo_out=. --proto_path=../../../../../../:/usr/local/opt/protobuf/include:. $<
|
|
|
|
clean:
|
|
rm *.pb.go
|