summaryrefslogtreecommitdiff
path: root/src/elementaryFunctions/sqrt/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/elementaryFunctions/sqrt/Makefile.am')
-rw-r--r--src/elementaryFunctions/sqrt/Makefile.am22
1 files changed, 14 insertions, 8 deletions
diff --git a/src/elementaryFunctions/sqrt/Makefile.am b/src/elementaryFunctions/sqrt/Makefile.am
index 7d8a555e..94e096c3 100644
--- a/src/elementaryFunctions/sqrt/Makefile.am
+++ b/src/elementaryFunctions/sqrt/Makefile.am
@@ -37,16 +37,22 @@ HEAD = ../includes/sqrt.h
check_INCLUDES = -I $(top_builddir)/elementaryFunctions/includes \
-I $(top_builddir)/type
-check_PROGRAMS = testSqrt
+check_LDADD = $(top_builddir)/type/libDoubleComplex.la \
+ $(top_builddir)/type/libFloatComplex.la \
+ $(top_builddir)/elementaryFunctions/sqrt/libSqrt.la \
+ @LIBMATH@
+
+check_PROGRAMS = testFloatSqrt testDoubleSqrt
-TESTS = testSqrt
+TESTS = testFloatSqrt testDoubleSqrt
#
# -*- Square Root Tests -*-
#
-testSqrt_SOURCES = testSqrt.c
-testSqrt_CFLAGS = $(check_INCLUDES)
-testSqrt_LDADD = $(top_builddir)/type/libDoubleComplex.la \
- $(top_builddir)/type/libFloatComplex.la \
- $(top_builddir)/elementaryFunctions/sqrt/libSqrt.la \
- @LIBMATH@
+testFloatSqrt_SOURCES = testFloatSqrt.c
+testFloatSqrt_CFLAGS = $(check_INCLUDES)
+testFloatSqrt_LDADD = $(check_LDADD)
+
+testDoubleSqrt_SOURCES = testDoubleSqrt.c
+testDoubleSqrt_CFLAGS = $(check_INCLUDES)
+testDoubleSqrt_LDADD = $(check_LDADD)