Move the generator .proto files to a subdir, and get rid of precompiled versions.
This commit is contained in:
7
generator/proto/Makefile
Normal file
7
generator/proto/Makefile
Normal file
@@ -0,0 +1,7 @@
|
||||
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
|
||||
Reference in New Issue
Block a user