summaryrefslogtreecommitdiff
path: root/test/math/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'test/math/Makefile.in')
-rw-r--r--test/math/Makefile.in11
1 files changed, 6 insertions, 5 deletions
diff --git a/test/math/Makefile.in b/test/math/Makefile.in
index 8a46e77db..e801112c6 100644
--- a/test/math/Makefile.in
+++ b/test/math/Makefile.in
@@ -20,9 +20,10 @@ EXTRA_CFLAGS := -fno-builtin
EXTRA_LDFLAGS := -lm
PERL := /usr/bin/perl
-ulps-file := $(firstword $(wildcard $(config-sysdirs:%=$(..)%/libm-test-ulps)))
-libm-test.c: $(ulps-file) libm-test.inc gen-libm-test.pl
- $(Q)$(PERL) ./gen-libm-test.pl -u $< ./libm-test.inc -o "." 2>&1 > /dev/null
-EXTRA_CLEAN := libm-test.c libm-test-ulps.h
-TARGETS=libm-test.c
+$(TESTS): libm-test.c
+
+libm-test.c: libm-test.inc gen-libm-test.pl
+ $(Q)$(PERL) ./gen-libm-test.pl -u libm-test-ulps-$(TARGET_ARCH) ./libm-test.inc -o "." 2>&1 > /dev/null
+
+EXTRA_CLEAN := libm-test.c libm-test-ulps.h