cpp: Fix test server/client under test/cpp
authorDavid Reiss <dreiss@apache.org>
Thu, 2 Apr 2009 23:49:18 +0000 (23:49 +0000)
committerDavid Reiss <dreiss@apache.org>
Thu, 2 Apr 2009 23:49:18 +0000 (23:49 +0000)
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@761479 13f79535-47bb-0310-9956-ffa450edef68

test/cpp/Makefile.thrift

index d861a2d..463b9c7 100644 (file)
@@ -59,16 +59,16 @@ stubs: ../ThriftTest.thrift
        $(THRIFT) --gen cpp ../ThriftTest.thrift
 
 server-debug: stubs
-       g++ -o TestServer $(DCFL) src/TestServer.cpp ./gen-cpp/ThriftTest.cpp ./gen-cpp/ThriftTest_types.cpp
+       g++ -o TestServer $(DCFL) src/TestServer.cpp ./gen-cpp/ThriftTest.cpp ./gen-cpp/ThriftTest_types.cpp ../ThriftTest_extras.cpp
 
 client-debug: stubs
-       g++ -o TestClient $(DCFL) src/TestClient.cpp ./gen-cpp/ThriftTest.cpp ./gen-cpp/ThriftTest_types.cpp
+       g++ -o TestClient $(DCFL) src/TestClient.cpp ./gen-cpp/ThriftTest.cpp ./gen-cpp/ThriftTest_types.cpp ../ThriftTest_extras.cpp
 
 server: stubs
-       g++ -o TestServer $(CFL) src/TestServer.cpp ./gen-cpp/ThriftTest.cpp ./gen-cpp/ThriftTest_types.cpp
+       g++ -o TestServer $(CFL) src/TestServer.cpp ./gen-cpp/ThriftTest.cpp ./gen-cpp/ThriftTest_types.cpp ../ThriftTest_extras.cpp
 
 client: stubs
-       g++ -o TestClient $(CFL) src/TestClient.cpp ./gen-cpp/ThriftTest.cpp ./gen-cpp/ThriftTest_types.cpp
+       g++ -o TestClient $(CFL) src/TestClient.cpp ./gen-cpp/ThriftTest.cpp ./gen-cpp/ThriftTest_types.cpp ../ThriftTest_extras.cpp
 
 small:
        $(THRIFT) --gen cpp ../SmallTest.thrift