From efb5b0171cd6049db8fdd2aa3f9546c65be19852 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Fri, 9 Nov 2007 02:38:33 +0000 Subject: QPID-676: Jonathan Robie's C++ examples. Made the following alterations for recent C++ API changes: - use arg:: namespace for Session keyword arguments. - removed trailing _ on session method names. cpp/examples/Makefile.am calls make in each example directory with flags to build examples from headers/libraries SVN checkout. Examples themselves have a plain Makefile (not automake) which will work as is if qpid is installed in standard places. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@593402 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/examples/request-response/Makefile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 cpp/examples/request-response/Makefile (limited to 'cpp/examples/request-response/Makefile') diff --git a/cpp/examples/request-response/Makefile b/cpp/examples/request-response/Makefile new file mode 100644 index 0000000000..32612843eb --- /dev/null +++ b/cpp/examples/request-response/Makefile @@ -0,0 +1,15 @@ +CXX=g++ +CXXFLAGS= + +PROGRAMS=client server +all: $(PROGRAMS) + +client: client.cpp + $(CXX) $(CXXFLAGS) -lqpidclient -o $@ $^ + +server: server.cpp + $(CXX) $(CXXFLAGS) -lqpidclient -o $@ $^ + + +clean: + rm -f $(PROGRAMS) -- cgit v1.2.1