sensenet/proto/Makefile

12 lines
189 B
Makefile
Raw Permalink Normal View History

2022-02-27 06:57:13 +00:00
all: telemetry.pb.go telemetry_pb2.py
%.pb.go: %.proto
protoc -I=. --go_out=. *.proto
%_pb2.py: %.proto
protoc -I=. --python_out=. *.proto
.PHONY: clean
clean:
rm -f *.pb.go *_pb2.py