Threads testing package update
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665042 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/test/threads/Makefile b/test/threads/Makefile
index 79c0134..7e88944 100644
--- a/test/threads/Makefile
+++ b/test/threads/Makefile
@@ -34,7 +34,7 @@
CCFL = -Wall -O3 -g -I./gen-cpp $(include_flags)
CFL = $(CCFL) $(LFL)
-all: server
+all: server client
stubs: ThreadsTest.thrift
$(THRIFT) -cpp -py ThreadsTest.thrift
@@ -42,5 +42,8 @@
server: stubs
g++ -o ThreadsServer $(CFL) ThreadsServer.cpp ./gen-cpp/ThreadsTest.cpp ./gen-cpp/ThreadsTest_types.cpp
+client: stubs
+ g++ -o ThreadsClient $(CFL) ThreadsClient.cpp ./gen-cpp/ThreadsTest.cpp ./gen-cpp/ThreadsTest_types.cpp
+
clean:
rm -fr *.o ThreadsServer gen-cpp