makefile

./code/Makefile
 1.PHONY: all clean
 2
 3all: hello.pb.cc hello.pb.h hello_pb2.py
 4
 5hello.pb.cc hello.pb.h: hello.proto
 6	protoc -I=./ --cpp_out=./ ./hello.proto
 7
 8hello_pb2.py: hello.proto
 9	protoc -I=./ --python_out=./ ./hello.proto
10
11clean:
12	$(RM) hello.pb.cc hello.pb.h hello_pb2.py