浏览代码

test: Fix math .c dependency

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>
Bernhard Reutner-Fischer 11 年之前
父节点
当前提交
a20a91ad7c
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      test/math/Makefile.in

+ 2 - 1
test/math/Makefile.in

@@ -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