libcruft-util/test/Makefile.am
Danny Robson d74b8ad40f Simplify the test binary cxx/ld flag specification
Rather than set the flags for each binary we can use global flags for
this file and cut down on redundancy.
2013-07-30 14:25:38 +10:00

37 lines
584 B
Makefile

AM_CPPFLAGS = \
$(COMMON_CXXFLAGS) \
-I$(top_srcdir) \
-I$(top_srcdir)/include \
-I$(top_srcdir)/src/ \
-I$(top_srcdir)/lib/
AM_LDFLAGS = $(COMMON_LDFLAGS)
TEST_BIN = \
backtrace \
bitwise \
checksum \
float \
hton \
ip \
json \
maths \
matrix \
md2 \
md4 \
md5 \
options \
pool \
range \
region \
signal \
sha1 \
version
AM_DEFAULT_SOURCE_EXT = .cpp
LDADD = $(builddir)/../libutil.la
TESTS = $(TEST_BIN) json.pl
check_PROGRAMS = $(TEST_BIN)
EXTRA_DIST = json.pl