aboutsummaryrefslogtreecommitdiffstats
path: root/generator
diff options
context:
space:
mode:
authorPetteri Aimonen <jpa@npb.mail.kapsi.fi>2011-11-30 14:59:25 +0000
committerPetteri Aimonen <jpa@npb.mail.kapsi.fi>2011-11-30 14:59:25 +0000
commita77ab47c2979d9ce6d03aee2ffe9c7a34250d86e (patch)
tree3b2b3acaff580f8cd520eb26d5714cb652dcd827 /generator
parent13b6988b642e786efb5aaaba0601d25a65f80091 (diff)
Added Makefile for generating nanopb_pb2.py.
I still left the precompiled version in place, as it "often works" :) git-svn-id: https://svn.kapsi.fi/jpa/nanopb@1019 e3a754e5-d11d-0410-8d38-ebb782a927b9
Diffstat (limited to 'generator')
-rw-r--r--generator/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/generator/Makefile b/generator/Makefile
new file mode 100644
index 00000000..161ef387
--- /dev/null
+++ b/generator/Makefile
@@ -0,0 +1,2 @@
+nanopb_pb2.py: nanopb.proto
+ protoc --python_out=. -I /usr/include -I . nanopb.proto