summaryrefslogtreecommitdiff
path: root/gi/pyp-topics/src/Makefile.am
blob: d3f95d0b1cc21713734edbff7b7bbe557709c349 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
bin_PROGRAMS = pyp-topics-train pyp-contexts-train #mpi-pyp-contexts-train

contexts_lexer.cc: contexts_lexer.l
	$(LEX) -s -CF -8 -o$@ $<

pyp_topics_train_SOURCES = mt19937ar.c corpus.cc gzstream.cc pyp-topics.cc train.cc contexts_lexer.cc contexts_corpus.cc
pyp_topics_train_LDADD = $(top_srcdir)/utils/libutils.a -lz

pyp_contexts_train_SOURCES = mt19937ar.c corpus.cc gzstream.cc pyp-topics.cc contexts_lexer.cc contexts_corpus.cc train-contexts.cc
pyp_contexts_train_LDADD = $(top_srcdir)/utils/libutils.a -lz

#mpi_pyp_contexts_train_SOURCES = mt19937ar.c corpus.cc gzstream.cc mpi-pyp-topics.cc contexts_lexer.cc contexts_corpus.cc mpi-train-contexts.cc
#mpi_pyp_contexts_train_LDADD = $(top_srcdir)/utils/libutils.a -lz

AM_CPPFLAGS = -W -Wall -Wno-sign-compare -funroll-loops -I../../../utils