summaryrefslogtreecommitdiff
path: root/klm/lm
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
commit51a412aa7f5f50035cf28a274a70508c839f3d40 (patch)
tree00cfafba51b2bb29a0015dc496053a00625c1c24 /klm/lm
parentee681f3d0337dc3d93c25de373a50fbda69252fe (diff)
build ngram_query binary
Diffstat (limited to 'klm/lm')
-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 \