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