summaryrefslogtreecommitdiffstats
path: root/generator/proto
diff options
context:
space:
mode:
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>2013-11-17 17:37:29 +0200
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>2013-12-29 20:26:57 +0200
commitec517e2108f4e7cc31cffc4fdc2a11cebfabfc66 (patch)
tree4897e15428391874fad037c9079295ecb797101c /generator/proto
parent8c2dda67a100237bc6cdb3b814012079be2b3534 (diff)
Add build script for windows package
Diffstat (limited to 'generator/proto')
-rw-r--r--generator/proto/Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/generator/proto/Makefile b/generator/proto/Makefile
index fea99a9c..ee1390a5 100644
--- a/generator/proto/Makefile
+++ b/generator/proto/Makefile
@@ -1,7 +1,4 @@
-all: nanopb_pb2.py plugin_pb2.py
+all: nanopb_pb2.py plugin_pb2.py descriptor_pb2.py
-nanopb_pb2.py: nanopb.proto
- protoc --python_out=. nanopb.proto
-
-plugin_pb2.py: plugin.proto
- protoc --python_out=. plugin.proto
+%_pb2.py: %.proto
+ protoc --python_out=. $<