1AM_CFLAGS = -Wall -D_DEBUG -I../lib
2AM_CXXFLAGS = -Wall -Weffc++ -D_DEBUG -I../lib
3
4TESTS = \
5  unit-test \
6  io-test \
7  vector-test \
8  tail-test \
9  trie-test \
10  c-test
11
12check_PROGRAMS = $(TESTS)
13
14noinst_HEADERS = assert.h
15
16unit_test_SOURCES = unit-test.cc
17unit_test_LDADD = ../lib/libmarisa.a
18
19io_test_SOURCES = io-test.cc
20io_test_LDADD = ../lib/libmarisa.a
21
22vector_test_SOURCES = vector-test.cc
23vector_test_LDADD = ../lib/libmarisa.a
24
25tail_test_SOURCES = tail-test.cc
26tail_test_LDADD = ../lib/libmarisa.a
27
28trie_test_SOURCES = trie-test.cc
29trie_test_LDADD = ../lib/libmarisa.a
30
31c_test_SOURCES = c-test.c
32c_test_LDADD = ../lib/libmarisa.a -lstdc++
33