add protobuf
diff --git a/sync-demo.pro b/sync-demo.pro
index b201cb7..ce3ac5a 100644
--- a/sync-demo.pro
+++ b/sync-demo.pro
@@ -11,10 +11,13 @@
 
 FORMS = chatdialog.ui
 
-QMAKE_CXXFLAGS *= -g
+QMAKE_CXXFLAGS *= -g 
+QMAKE_CFLAGS *= -g 
 
 QMAKE_LIBDIR *= /opt/local/lib /usr/local/lib /usr/lib ../../../third_party/OGDF/_release
 INCLUDEPATH *= /opt/local/include /usr/local/include ../../../third_party/OGDF
-LIBS *= -lccn -lssl -lcrypto -lpthread -lOGDF
+LIBS *= -lccn -lssl -lcrypto -lpthread -lOGDF -lprotobuf
 CONFIG += console 
 
+PROTOS = chatbuf.proto
+include (sync-demo.pri)