summaryrefslogtreecommitdiff
path: root/training/utils/Makefile.am
blob: c9405d4ee45c13b41e753329163b2d25dbe33524 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
noinst_LIBRARIES = libtraining_utils.a

bin_PROGRAMS = \
  sentserver \
  sentclient

noinst_PROGRAMS = \
  lbfgs_test \
  optimize_test

sentserver_SOURCES = sentserver.c
sentserver_LDFLAGS = -pthread

sentclient_SOURCES = sentclient.c
sentclient_LDFLAGS = -pthread

TESTS = lbfgs_test optimize_test

libtraining_utils_a_SOURCES = \
  candidate_set.cc \
  entropy.cc \
  optimize.cc \
  online_optimizer.cc \
  risk.cc

optimize_test_SOURCES = optimize_test.cc
optimize_test_LDADD = libtraining_utils.a $(top_srcdir)/utils/libutils.a

lbfgs_test_SOURCES = lbfgs_test.cc
lbfgs_test_LDADD = $(top_srcdir)/utils/libutils.a

AM_CPPFLAGS = -W -Wall -Wno-sign-compare -I$(top_srcdir)/decoder -I$(top_srcdir)/utils -I$(top_srcdir)/mteval -I$(top_srcdir)/klm