mirror of
https://github.com/ipfs/kubo.git
synced 2025-09-10 05:52:20 +08:00

we shouldn't use internal packages. License: MIT Signed-off-by: Juan Batiz-Benet <juan@benet.ai>
12 lines
208 B
Makefile
12 lines
208 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 -f *.pb.go
|
|
rm -f *.go
|