THRIFT-976 c_glib tutorial
Patch: Simon South
diff --git a/tutorial/c_glib/Makefile.am b/tutorial/c_glib/Makefile.am
index 33d6c93..24075dd 100755
--- a/tutorial/c_glib/Makefile.am
+++ b/tutorial/c_glib/Makefile.am
@@ -43,8 +43,16 @@
noinst_PROGRAMS = \
+ tutorial_server \
tutorial_client
+tutorial_server_SOURCES = \
+ c_glib_server.c
+
+tutorial_server_LDADD = \
+ libtutorialgencglib.la \
+ $(top_builddir)/lib/c_glib/libthrift_c_glib.la
+
tutorial_client_SOURCES = \
c_glib_client.c
@@ -59,8 +67,12 @@
clean-local:
$(RM) -r gen-c_glib
+tutorialserver: all
+ ./tutorial_server
+
tutorialclient: all
./tutorial_client
EXTRA_DIST = \
+ c_glib_server.c \
c_glib_client.c