summaryrefslogtreecommitdiff
path: root/cpp/examples/pub-sub/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/examples/pub-sub/Makefile')
-rw-r--r--cpp/examples/pub-sub/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/cpp/examples/pub-sub/Makefile b/cpp/examples/pub-sub/Makefile
new file mode 100644
index 0000000000..ea08031da5
--- /dev/null
+++ b/cpp/examples/pub-sub/Makefile
@@ -0,0 +1,17 @@
+CXX=g++
+CXXFLAGS=
+
+PROGRAMS=topic_config_queues topic_listener topic_publisher
+all: $(PROGRAMS)
+
+topic_config_queues: topic_config_queues.cpp
+ $(CXX) $(CXXFLAGS) -lqpidclient -o $@ $^
+
+topic_listener: topic_listener.cpp
+ $(CXX) $(CXXFLAGS) -lqpidclient -o $@ $^
+
+topic_publisher: topic_publisher.cpp
+ $(CXX) $(CXXFLAGS) -lqpidclient -o $@ $^
+
+clean:
+ rm -f $(PROGRAMS)