Makefile 123 B

12345678910
  1. PROTOC?=protoc
  2. all: nanopb_pb2.py
  3. %_pb2.py: %.proto
  4. $(PROTOC) --python_out=. $<
  5. .PHONY: clean
  6. clean:
  7. rm nanopb_pb2.py