blob: 74520f0961a45d1722f5be1214dc4d40eeee65a9 [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:
16 rm -fr CppClient CppServer