summaryrefslogtreecommitdiff
path: root/decoder/Makefile.am
diff options
context:
space:
mode:
authorredpony <redpony@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-08-11 03:19:10 +0000
committerredpony <redpony@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-08-11 03:19:10 +0000
commitd67c46f72046af3d2a06e5e6c3737a30b21452a1 (patch)
treebfa94cb9e5b373518eed07b13d2a2eb64d970eb7 /decoder/Makefile.am
parent3565a2515d81865ecaa464e22fb6b884082c3544 (diff)
more link lne fixes
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@521 ec762483-ff6d-05da-a07a-a48fb63a330f
Diffstat (limited to 'decoder/Makefile.am')
-rw-r--r--decoder/Makefile.am17
1 files changed, 7 insertions, 10 deletions
diff --git a/decoder/Makefile.am b/decoder/Makefile.am
index f514b340..a3c359ec 100644
--- a/decoder/Makefile.am
+++ b/decoder/Makefile.am
@@ -10,23 +10,20 @@ noinst_PROGRAMS = \
endif
cdec_SOURCES = cdec.cc forest_writer.cc maxtrans_blunsom.cc cdec_ff.cc
+cdec_LDADD = libcdec.a ../mteval/libmteval.a ../utils/libutils.a -lz
+
parser_test_SOURCES = parser_test.cc
-parser_test_LDADD = $(GTEST_LDFLAGS) $(GTEST_LIBS) libcdec.a
+parser_test_LDADD = $(GTEST_LDFLAGS) $(GTEST_LIBS) libcdec.a ../mteval/libmteval.a ../utils/libutils.a -lz
ff_test_SOURCES = ff_test.cc
-ff_test_LDADD = $(GTEST_LDFLAGS) $(GTEST_LIBS) libcdec.a
+ff_test_LDADD = $(GTEST_LDFLAGS) $(GTEST_LIBS) libcdec.a ../mteval/libmteval.a ../utils/libutils.a -lz
grammar_test_SOURCES = grammar_test.cc
-grammar_test_LDADD = $(GTEST_LDFLAGS) $(GTEST_LIBS) libcdec.a
+grammar_test_LDADD = $(GTEST_LDFLAGS) $(GTEST_LIBS) libcdec.a ../mteval/libmteval.a ../utils/libutils.a -lz
hg_test_SOURCES = hg_test.cc
-hg_test_LDADD = $(GTEST_LDFLAGS) $(GTEST_LIBS) libcdec.a
+hg_test_LDADD = $(GTEST_LDFLAGS) $(GTEST_LIBS) libcdec.a ../mteval/libmteval.a ../utils/libutils.a -lz
trule_test_SOURCES = trule_test.cc
-trule_test_LDADD = $(GTEST_LDFLAGS) $(GTEST_LIBS) libcdec.a
-
-LDADD = libcdec.a ../mteval/libmteval.a ../utils/libutils.a
-
+trule_test_LDADD = $(GTEST_LDFLAGS) $(GTEST_LIBS) libcdec.a ../mteval/libmteval.a ../utils/libutils.a -lz
AM_CPPFLAGS = -W -Wall -Wno-sign-compare $(GTEST_CPPFLAGS) -I.. -I../mteval -I../utils
-AM_LDFLAGS = ../utils/libutils.a -lz
-
rule_lexer.cc: rule_lexer.l
$(LEX) -s -CF -8 -o$@ $<