summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonid Lisovskiy <lly.dev@gmail.com>2016-05-31 18:43:49 (GMT)
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-05-31 19:00:13 (GMT)
commit8b28fc50a3891f823531aa276008e1b1b17e0a79 (patch)
treeea1b9970e1196022891b2366d530ddbd1196152a
parent3ac3d4e61a1de0c2d0e0d2bebf0d1b111f153f12 (diff)
tests: Take in account Makefiles that have meaning for rebuild only.
Currently, targets dependancy list don't include Makefile.in, this leads to incomplete rebuild after target's compiler/linker flags was changed. Use "$(wildcard)" function due to Makefile.in could be absent in subdirectory. Signed-off-by: Leonid Lisovskiy <lly.dev@gmail.com>
-rw-r--r--test/Test.mak2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Test.mak b/test/Test.mak
index c1b34a7..c9b1f5a 100644
--- a/test/Test.mak
+++ b/test/Test.mak
@@ -116,7 +116,7 @@ compile: $(COMPILE_TARGETS)
G_TARGET_SRCS := $(addsuffix .c,$(G_TARGETS))
U_TARGET_SRCS := $(addsuffix .c,$(U_TARGETS))
-MAKE_SRCS := Makefile $(TESTDIR)Makefile $(TESTDIR)Rules.mak $(TESTDIR)Test.mak
+MAKE_SRCS := $(wildcard Makefile.in) $(TESTDIR)Makefile $(TESTDIR)Rules.mak $(TESTDIR)Test.mak
$(U_TARGETS): $(U_TARGET_SRCS) $(MAKE_SRCS)
$(showlink)