summaryrefslogtreecommitdiff
path: root/klm
diff options
context:
space:
mode:
authorChris Dyer <cdyer@allegro.clab.cs.cmu.edu>2013-01-21 21:54:59 -0500
committerChris Dyer <cdyer@allegro.clab.cs.cmu.edu>2013-01-21 21:54:59 -0500
commit53532304714256f692fd5f7305b2fab10a7d7cca (patch)
treea7fb45b6a476d74649920f5173639a5869bfead4 /klm
parentfba0f3db9aa896807e3932f9d3323767cedd9338 (diff)
build ngram_query binary
Diffstat (limited to 'klm')
-rw-r--r--klm/lm/Makefile.am6
1 files changed, 4 insertions, 2 deletions
diff --git a/klm/lm/Makefile.am b/klm/lm/Makefile.am
index f15cbd77..45f40c43 100644
--- a/klm/lm/Makefile.am
+++ b/klm/lm/Makefile.am
@@ -1,8 +1,11 @@
-bin_PROGRAMS = build_binary
+bin_PROGRAMS = build_binary ngram_query
build_binary_SOURCES = build_binary.cc
build_binary_LDADD = libklm.a ../util/libklm_util.a ../util/double-conversion/libklm_util_double.a -lz
+ngram_query_SOURCES = ngram_query.cc
+ngram_query_LDADD = libklm.a ../util/libklm_util.a ../util/double-conversion/libklm_util_double.a -lz
+
#noinst_PROGRAMS = \
# ngram_test
#TESTS = ngram_test
@@ -46,7 +49,6 @@ libklm_a_SOURCES = \
lm_exception.cc \
quantize.cc \
model.cc \
- ngram_query.cc \
read_arpa.cc \
search_hashed.cc \
search_trie.cc \