mirror of
https://github.com/unclechu/gRPC-haskell.git
synced 2024-11-18 09:09:42 +01:00
11 lines
322 B
Makefile
11 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 $@
|