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