summaryrefslogtreecommitdiff
path: root/word-aligner
diff options
context:
space:
mode:
Diffstat (limited to 'word-aligner')
-rw-r--r--word-aligner/CMakeLists.txt10
-rw-r--r--word-aligner/Makefile.am12
2 files changed, 10 insertions, 12 deletions
diff --git a/word-aligner/CMakeLists.txt b/word-aligner/CMakeLists.txt
new file mode 100644
index 00000000..baf85b31
--- /dev/null
+++ b/word-aligner/CMakeLists.txt
@@ -0,0 +1,10 @@
+INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/../utils)
+
+set(fast_align_SRCS
+ fast_align.cc
+ ttables.cc
+ da.h
+ ttables.h)
+add_executable(fast_align ${fast_align_SRCS})
+target_link_libraries(fast_align utils ${Boost_LIBRARIES} z)
+
diff --git a/word-aligner/Makefile.am b/word-aligner/Makefile.am
deleted file mode 100644
index 071e4977..00000000
--- a/word-aligner/Makefile.am
+++ /dev/null
@@ -1,12 +0,0 @@
-bin_PROGRAMS = fast_align binderiv
-
-fast_align_SOURCES = fast_align.cc ttables.cc da.h ttables.h
-fast_align_LDADD = ../utils/libutils.a
-fast_align_LDFLAGS = $(STATIC_FLAGS)
-
-binderiv_SOURCES = binderiv.cc
-binderiv_LDADD = ../utils/libutils.a
-
-EXTRA_DIST = aligner.pl ortho-norm support makefiles stemmers
-
-AM_CPPFLAGS = -W -Wall -I$(top_srcdir) -I$(top_srcdir)/utils -I$(top_srcdir)/training