aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/nanopb/generator/proto/Makefile
diff options
context:
space:
mode:
authorGravatar Nicolas "Pixel" Noble <pixel@nobis-crew.org>2016-09-23 06:28:04 +0200
committerGravatar Nicolas "Pixel" Noble <pixel@nobis-crew.org>2016-09-23 06:28:04 +0200
commit39937f73760b7cfc6be763d4b7e91b934df23fbe (patch)
tree11c90e51d1c93c82ab267b947cffff7eda0afbc4 /third_party/nanopb/generator/proto/Makefile
parentfe456e5b487717c25bde88f97c9029185130a2b9 (diff)
Putting nanopb files into third_party without being a submodule.
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=. $<