summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/Makefile.am7
-rw-r--r--examples/chat/Makefile.am11
2 files changed, 18 insertions, 0 deletions
diff --git a/examples/Makefile.am b/examples/Makefile.am
new file mode 100644
index 0000000..6a76990
--- /dev/null
+++ b/examples/Makefile.am
@@ -0,0 +1,7 @@
+
+if BUILD_CHAT
+DIR_CHAT = chat
+endif
+
+SUBDIRS = $(DIR_CHAT)
+DIST_SUBDIRS = chat
diff --git a/examples/chat/Makefile.am b/examples/chat/Makefile.am
new file mode 100644
index 0000000..e14094f
--- /dev/null
+++ b/examples/chat/Makefile.am
@@ -0,0 +1,11 @@
+INCLUDES = -I$(top_builddir)/bindings/c -I$(top_builddir)/bindings/cpp
+
+noinst_PROGRAMS = display prompt
+
+display_SOURCES = display.cpp
+display_LDADD = $(top_builddir)/src/libzmq.la
+display_CXXFLAGS = -Wall -pedantic -Werror
+
+prompt_SOURCES = prompt.cpp
+prompt_LDADD = $(top_builddir)/src/libzmq.la
+prompt_CXXFLAGS = -Wall -pedantic -Werror