Add random message generator to help with fuzz testing
[apps/agl-service-can-low-level.git] / generator / proto / Makefile
index 2421175..89bfe52 100644 (file)
@@ -1,7 +1,4 @@
 all: nanopb_pb2.py plugin_pb2.py
 
-nanopb_pb2.py: nanopb.proto
-       protoc --python_out=. -I /usr/include -I . nanopb.proto
-
-plugin_pb2.py: plugin.proto
-       protoc --python_out=. -I /usr/include -I . plugin.proto
+%_pb2.py: %.proto
+       protoc --python_out=. $<