summaryrefslogtreecommitdiffstats
path: root/generator/proto/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'generator/proto/Makefile')
-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=. $<