Added Makefile for generating nanopb_pb2.py.
authorPetteri Aimonen <jpa@npb.mail.kapsi.fi>
Wed, 30 Nov 2011 14:59:25 +0000 (14:59 +0000)
committerPetteri Aimonen <jpa@npb.mail.kapsi.fi>
Wed, 30 Nov 2011 14:59:25 +0000 (14:59 +0000)
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

generator/Makefile [new file with mode: 0644]

diff --git a/generator/Makefile b/generator/Makefile
new file mode 100644 (file)
index 0000000..161ef38
--- /dev/null
@@ -0,0 +1,2 @@
+nanopb_pb2.py: nanopb.proto
+       protoc --python_out=. -I /usr/include -I . nanopb.proto