mirror of
https://github.com/unclechu/gRPC-haskell.git
synced 2024-12-25 03:09:44 +01:00
ce56953b24
* initial echo client/server examples * registered and unregistered versions of the example client * ignore pyc files * cpp echo code, flag to build examples * threaded server example
10 lines
322 B
Makefile
10 lines
322 B
Makefile
CXX = clang++
|
|
CXXFLAGS += -std=c++11
|
|
CPPFLAGS += -I/usr/local/include -pthread
|
|
LDFLAGS += -L/usr/local/lib -lgrpc++_unsecure -lgrpc -lprotobuf -lpthread -ldl
|
|
|
|
echo-server: echo.pb.o echo.grpc.pb.o echo-server.o
|
|
clang++ $^ $(LDFLAGS) -o $@
|
|
|
|
echo-client: echo.pb.o echo.grpc.pb.o echo-client.o
|
|
clang++ $^ $(LDFLAGS) -o $@
|