diff options
author | zens <zens@1f5c12ca-751b-0410-a591-d2e778427230> | 2006-07-21 17:34:45 +0400 |
---|---|---|
committer | zens <zens@1f5c12ca-751b-0410-a591-d2e778427230> | 2006-07-21 17:34:45 +0400 |
commit | 4c03fc1de86e23d88399c87e1f40e2b4d89d44f8 (patch) | |
tree | f889c0fd65fa5279bca44d7db16c24a6cfddd264 /moses-cmd | |
parent | 325353b0f47eb332e159bf5eca6cce13f65d8865 (diff) |
- removed processPhraseTable stuff
- explicit dependency on moses library
-> automatically relink moses if libmoses.a changed
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@240 1f5c12ca-751b-0410-a591-d2e778427230
Diffstat (limited to 'moses-cmd')
-rw-r--r-- | moses-cmd/src/Makefile.am | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/moses-cmd/src/Makefile.am b/moses-cmd/src/Makefile.am index 24f0d492f..8a29f9ec9 100644 --- a/moses-cmd/src/Makefile.am +++ b/moses-cmd/src/Makefile.am @@ -1,15 +1,9 @@ -bin_PROGRAMS = moses # processPhraseTable +bin_PROGRAMS = moses moses_SOURCES = Main.cpp IOCommandLine.cpp IOFile.cpp +AM_CPPFLAGS = -W -Wall -ffor-scope -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -##MOSESLIB = -L$(top_srcdir)/../moses/src -lmoses -MOSESLIB = -lmoses - -processPhraseTable_SOURCES = processPhraseTable.cpp -processPhraseTable_LDADD = $(MOSESLIB) - -# this really needs to be fixed -### INCLUDES = -I../../src -moses_LDADD = $(MOSESLIB) +moses_LDADD = -lmoses +moses_DEPENDENCIES = $(top_srcdir)/../moses/src/libmoses.a if BUILD_MYSQL_SUPPORT moses_SOURCES += IOMySQL.cpp ThreadMySQL.cpp |