aboutsummaryrefslogtreecommitdiffstats
path: root/generator/proto/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'generator/proto/Makefile')
-rw-r--r--generator/proto/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/generator/proto/Makefile b/generator/proto/Makefile
new file mode 100644
index 00000000..2421175e
--- /dev/null
+++ b/generator/proto/Makefile
@@ -0,0 +1,7 @@
+all: nanopb_pb2.py plugin_pb2.py
+
+nanopb_pb2.py: nanopb.proto
+ protoc --python_out=. -I /usr/include -I . nanopb.proto
+
+plugin_pb2.py: plugin.proto
+ protoc --python_out=. -I /usr/include -I . plugin.proto