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