aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/nanopb/generator/proto/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/nanopb/generator/proto/Makefile')
-rw-r--r--third_party/nanopb/generator/proto/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/third_party/nanopb/generator/proto/Makefile b/third_party/nanopb/generator/proto/Makefile
new file mode 100644
index 0000000000..89bfe52864
--- /dev/null
+++ b/third_party/nanopb/generator/proto/Makefile
@@ -0,0 +1,4 @@
+all: nanopb_pb2.py plugin_pb2.py
+
+%_pb2.py: %.proto
+ protoc --python_out=. $<