From bfef2fcd0ba590169ad46ea45da9d36dca1b5b97 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Mon, 7 Dec 2009 21:52:10 +0100 Subject: autotools build system builds chat example now --- examples/Makefile.am | 7 +++++++ examples/chat/Makefile.am | 11 +++++++++++ 2 files changed, 18 insertions(+) create mode 100644 examples/Makefile.am create mode 100644 examples/chat/Makefile.am (limited to 'examples') 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 -- cgit v1.2.3