Implement the shortest stem first search order for pattern-specific variables and pattern rules.

This commit is contained in:
Boris Kolpackov
2009-09-28 12:31:55 +00:00
parent f9c15cac35
commit f5891a26d8
9 changed files with 179 additions and 23 deletions

View File

@@ -207,6 +207,18 @@ CWEAVE := :
unlink(@f);
# TEST #9: Test shortest stem selection in pattern rules.
run_make_test('
%.x: ;@echo one
%-mt.x: ;@echo two
all: foo.x foo-mt.x
',
'',
"one\ntwo");
1;
# This tells the test driver that the perl test script executed properly.
1;