blob: 35a21d8a56f40a2d70e88b9e9c03e2cbb791c06c [file] [log] [blame]
Mark Slee07a3aab2007-03-07 05:45:10 +00001BOOST_DIR = /usr/local/boost/include/boost-1_33_1/
2THRIFT_DIR = /usr/local/include/thrift
3LIB_DIR = /usr/local/lib
4
5GEN_SRC = ../gen-cpp/SharedService.cpp ../gen-cpp/shared_types.cpp ../gen-cpp/tutorial_types.cpp ../gen-cpp/Calculator.cpp
6
7default: server client
8
9server: CppServer.cpp
10 g++ -o CppServer -I${THRIFT_DIR} -I${BOOST_DIR} -I../gen-cpp -L${LIB_DIR} -lthrift CppServer.cpp ${GEN_SRC}
11
12client: CppClient.cpp
13 g++ -o CppClient -I${THRIFT_DIR} -I${BOOST_DIR} -I../gen-cpp -L${LIB_DIR} -lthrift CppClient.cpp ${GEN_SRC}
14
15clean:
David Reiss2ca456a2008-02-24 16:42:18 +000016 $(RM) -r CppClient CppServer