summaryrefslogtreecommitdiff
path: root/training/const_reorder/Makefile.am
diff options
context:
space:
mode:
authorWu, Ke <wuke@cs.umd.edu>2014-12-17 15:41:32 -0500
committerWu, Ke <wuke@cs.umd.edu>2014-12-17 15:41:32 -0500
commit62249e8de1be27057649aa787b715af5727f8a7c (patch)
treedefd66b26121d2c9043efa9459ad9e7298d06c47 /training/const_reorder/Makefile.am
parent0867694ffd2b2c8c7a23691ab74f8548c4baac72 (diff)
Move training routine out of ff_const_reorder_common.h
Diffstat (limited to 'training/const_reorder/Makefile.am')
-rw-r--r--training/const_reorder/Makefile.am8
1 files changed, 6 insertions, 2 deletions
diff --git a/training/const_reorder/Makefile.am b/training/const_reorder/Makefile.am
index 2e81e588..367ac904 100644
--- a/training/const_reorder/Makefile.am
+++ b/training/const_reorder/Makefile.am
@@ -1,8 +1,12 @@
+noinst_LIBRARIES = libtrainer.a
+
+libtrainer_a_SOURCES = trainer.h trainer.cc
+
bin_PROGRAMS = const_reorder_model_trainer argument_reorder_model_trainer
AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/utils -I$(top_srcdir)/decoder
const_reorder_model_trainer_SOURCES = constituent_reorder_model.cc
-const_reorder_model_trainer_LDADD = ../../utils/libutils.a
+const_reorder_model_trainer_LDADD = ../../utils/libutils.a libtrainer.a
argument_reorder_model_trainer_SOURCES = argument_reorder_model.cc
-argument_reorder_model_trainer_LDADD = ../../utils/libutils.a
+argument_reorder_model_trainer_LDADD = ../../utils/libutils.a libtrainer.a