From ec517e2108f4e7cc31cffc4fdc2a11cebfabfc66 Mon Sep 17 00:00:00 2001
From: Petteri Aimonen <jpa@git.mail.kapsi.fi>
Date: Sun, 17 Nov 2013 17:37:29 +0200
Subject: Add build script for windows package

---
 generator/proto/Makefile | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

(limited to 'generator/proto')

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=. $<
-- 
cgit 1.2.3-korg