3 $description = "Test globbing in targets and prerequisites.";
7 touch(qw(a.one a.two a.three));
9 # Test wildcards in regular targets and prerequisites
11 .PHONY: all a.one a.two a.three
12 all: a.one* a.t[a-z0-9]o a.th[!q]ee
13 a.o[Nn][Ee] a.t*: ; @echo $@
15 '', "a.one\na.two\na.three");
17 # Test wildcards in pattern targets and prerequisites
21 %.four : %.t* ; @echo $@: $(sort $^)
23 '', "a.four: a.three a.two");
25 # Test wildcards in second expansion targets and prerequisites
30 %.four : $$(sort %.t*) ; @echo $@: $(sort $^)
32 '', "a.four: a.three a.two");
34 unlink(qw(a.one a.two a.three));
36 # This tells the test driver that the perl test script executed properly.