add submodule sync
diff --git a/.gitmodules b/.gitmodules
new file mode 100644
index 0000000..cd321e8
--- /dev/null
+++ b/.gitmodules
@@ -0,0 +1,3 @@
+[submodule "sync"]
+	path = sync
+	url = git@github.com:zhenkai/sync.git
diff --git a/sync b/sync
new file mode 160000
index 0000000..3cca091
--- /dev/null
+++ b/sync
@@ -0,0 +1 @@
+Subproject commit 3cca0915ea8f9fff0d27819f19598753cc47ceff
diff --git a/sync-demo.pro b/sync-demo.pro
index 24fcdd1..d1161bd 100644
--- a/sync-demo.pro
+++ b/sync-demo.pro
@@ -18,8 +18,8 @@
 QMAKE_CXXFLAGS *= -g 
 QMAKE_CFLAGS *= -g 
 
-QMAKE_LIBDIR *= /opt/local/lib /usr/local/lib /usr/lib ../build
-INCLUDEPATH *= /opt/local/include /usr/local/include ../include
+QMAKE_LIBDIR *= /opt/local/lib /usr/local/lib /usr/lib sync/build
+INCLUDEPATH *= /opt/local/include /usr/local/include sync/include
 LIBS *= -lccn -lssl -lcrypto -lpthread -lprotobuf -lsync
 CONFIG += console