summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2010-09-07 15:12:16 +0800
committerPeng Wu <alexepico@gmail.com>2010-09-07 15:12:16 +0800
commit6dbdde8cc94c1c8634a29ab591f16ad06b2a7835 (patch)
tree52c0d3810bd1460c605f8ab525b63fd5de3e5a4c /src
parent673e351de76478a80d051d592212b93570134de7 (diff)
downloadlibpinyin-6dbdde8cc94c1c8634a29ab591f16ad06b2a7835.tar.gz
libpinyin-6dbdde8cc94c1c8634a29ab591f16ad06b2a7835.tar.xz
libpinyin-6dbdde8cc94c1c8634a29ab591f16ad06b2a7835.zip
begin to add shortest path segment
Diffstat (limited to 'src')
-rw-r--r--src/segment/Makefile.am6
-rw-r--r--src/segment/spseg.cpp5
2 files changed, 10 insertions, 1 deletions
diff --git a/src/segment/Makefile.am b/src/segment/Makefile.am
index 0e58ddf..b411e46 100644
--- a/src/segment/Makefile.am
+++ b/src/segment/Makefile.am
@@ -21,8 +21,12 @@ INCLUDES = -I$(top_srcdir)/src/include \
-I$(top_srcdir)/src/storage \
@GLIB2_CPPFLAGS@
-noinst_PROGRAMS = mmseg
+noinst_PROGRAMS = mmseg spseg
mmseg_SOURCES = mmseg.cpp
mmseg_LDADD = @GLIB2_LDFLAGS@
+
+spseg_SOURCES = spseg.cpp
+
+spseg_LDADD = @GLIB2_LDFLAGS@
diff --git a/src/segment/spseg.cpp b/src/segment/spseg.cpp
new file mode 100644
index 0000000..ada847c
--- /dev/null
+++ b/src/segment/spseg.cpp
@@ -0,0 +1,5 @@
+#include <stdio.h>
+
+int main(int argc, char * argv[]){
+ return 0;
+}