]> git.meshlink.io Git - meshlink/blobdiff - examples/Makefile.am
Clear send and receive buffers before channel close/error callbacks.
[meshlink] / examples / Makefile.am
index 9243cafbaafa8392bf3e86fe6f03809eb263fc8d..ee64fa8ec37ff1ae69142a9edd8adbc272c332b3 100644 (file)
@@ -1,4 +1,4 @@
-noinst_PROGRAMS = meshlinkapp chat chatpp manynodes channels monitor
+EXTRA_PROGRAMS = meshlinkapp chat chatpp manynodes channels groupchat
 
 AM_CPPFLAGS = $(PTHREAD_CFLAGS) -I${top_srcdir}/src -iquote. -Wall
 AM_LDFLAGS = $(PTHREAD_LIBS)
@@ -18,7 +18,11 @@ manynodes_LDADD = ${top_builddir}/src/libmeshlink.la
 channels_SOURCES = channels.c
 channels_LDADD = ${top_builddir}/src/libmeshlink.la
 
-if CURSES
+if MONITOR
+EXTRA_PROGRAMS += monitor
 monitor_SOURCES = monitor.c
 monitor_LDADD = ${top_builddir}/src/libmeshlink.la $(NCURSES_LIBS) -lm
 endif
+
+groupchat_SOURCES = groupchat.c
+groupchat_LDADD = ${top_builddir}/src/libmeshlink.la