OSDN Git Service

test: Fix math .c dependency
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Tue, 18 Feb 2014 22:30:28 +0000 (23:30 +0100)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Tue, 18 Feb 2014 22:30:28 +0000 (23:30 +0100)
When explicitly running the compile target we were missing a dependency
to generate the libm-test.c.

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
test/math/Makefile.in

index beef650..0285b66 100644 (file)
@@ -25,7 +25,8 @@ EXTRA_LDFLAGS   := -lm
 
 PERL := /usr/bin/perl
 
-$(TESTS): libm-test.c
+MDEPS := $(wildcard test-*.c)
+$(MDEPS): libm-test.c
 
 libm-test.c: libm-test-ulps-$(TARGET_ARCH) 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