Fix makefile

pull/3109/head
Yang Gao 10 years ago
parent 3f07f660ec
commit 8d7ce5317e
  1. 4
      cpp/helloworld/Makefile

@ -43,10 +43,10 @@ vpath %.proto $(PROTOS_PATH)
all: system-check greeter_client greeter_server
greeter_client: helloworld.grpc.pb.o helloworld.pb.o greeter_client.o
greeter_client: helloworld.pb.o helloworld.grpc.pb.o greeter_client.o
$(CXX) $^ $(LDFLAGS) -o $@
greeter_server: helloworld.pb.o greeter_server.o
greeter_server: helloworld.pb.o helloworld.grpc.pb.o greeter_server.o
$(CXX) $^ $(LDFLAGS) -o $@
%.grpc.pb.cc: %.proto

Loading…
Cancel
Save