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