summaryrefslogtreecommitdiffstats
path: root/generator/proto/Makefile
diff options
context:
space:
mode:
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>2013-11-17 15:07:12 +0200
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>2013-12-29 20:26:57 +0200
commit356535da9bd79252e5365a6e5648b7fcd28b367c (patch)
treedcf8d3d3784d6691d16f2ac7b4b5bfecb2840c25 /generator/proto/Makefile
parentf4146edf01b8226709538a46919c666c37ebb50b (diff)
Move the generator .proto files to a subdir, and get rid of precompiled versions.
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