summaryrefslogtreecommitdiff
path: root/training/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'training/Makefile.am')
-rw-r--r--training/Makefile.am10
1 files changed, 5 insertions, 5 deletions
diff --git a/training/Makefile.am b/training/Makefile.am
index 89d4a4c9..ec33e267 100644
--- a/training/Makefile.am
+++ b/training/Makefile.am
@@ -9,7 +9,8 @@ bin_PROGRAMS = \
plftools \
collapse_weights \
cllh_filter_grammar \
- mpi_online_optimize
+ mpi_online_optimize \
+ mpi_batch_optimize
noinst_PROGRAMS = \
lbfgs_test \
@@ -20,13 +21,12 @@ TESTS = lbfgs_test optimize_test
mpi_online_optimize_SOURCES = mpi_online_optimize.cc online_optimizer.cc
mpi_online_optimize_LDADD = $(top_srcdir)/decoder/libcdec.a $(top_srcdir)/mteval/libmteval.a $(top_srcdir)/utils/libutils.a -lz
-if MPI
-bin_PROGRAMS += mpi_batch_optimize \
- compute_cllh
-
mpi_batch_optimize_SOURCES = mpi_batch_optimize.cc optimize.cc
mpi_batch_optimize_LDADD = $(top_srcdir)/decoder/libcdec.a $(top_srcdir)/mteval/libmteval.a $(top_srcdir)/utils/libutils.a -lz
+if MPI
+bin_PROGRAMS += compute_cllh
+
compute_cllh_SOURCES = compute_cllh.cc
compute_cllh_LDADD = $(top_srcdir)/decoder/libcdec.a $(top_srcdir)/mteval/libmteval.a $(top_srcdir)/utils/libutils.a -lz
endif