diff options
author | David Garcia Quintas <dgq@google.com> | 2016-01-27 19:21:12 -0800 |
---|---|---|
committer | David Garcia Quintas <dgq@google.com> | 2016-01-27 19:21:12 -0800 |
commit | 6bd7b97dc63dff65616ec3cdd145feb9b8bb104d (patch) | |
tree | cf1c4bb68eee30014f4e7981b94be1e57610e5b5 /examples/cpp/helloworld/Makefile | |
parent | e1300deb87b5fca2b4361a753d0bd4d19b078ea4 (diff) |
DONE!!1one
Diffstat (limited to 'examples/cpp/helloworld/Makefile')
-rw-r--r-- | examples/cpp/helloworld/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/cpp/helloworld/Makefile b/examples/cpp/helloworld/Makefile index f2093afa05..5964b79b83 100644 --- a/examples/cpp/helloworld/Makefile +++ b/examples/cpp/helloworld/Makefile @@ -55,9 +55,11 @@ greeter_async_client: helloworld.pb.o helloworld.grpc.pb.o greeter_async_client. greeter_async_server: helloworld.pb.o helloworld.grpc.pb.o greeter_async_server.o $(CXX) $^ $(LDFLAGS) -o $@ +.PRECIOUS: %.grpc.pb.cc %.grpc.pb.cc: %.proto $(PROTOC) -I $(PROTOS_PATH) --grpc_out=. --plugin=protoc-gen-grpc=$(GRPC_CPP_PLUGIN_PATH) $< +.PRECIOUS: %.pb.cc %.pb.cc: %.proto $(PROTOC) -I $(PROTOS_PATH) --cpp_out=. $< |