<div dir="ltr">I fixed up a few more instances of shell-based globbing.  Some of these are MacOSX only, and this only really matters on Windows, but I figured it's best to just be consistent and adopt a policy of "always use $(wildcard) for globbing.</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jul 30, 2014 at 3:31 PM, David Majnemer <span dir="ltr"><<a href="mailto:david.majnemer@gmail.com" target="_blank">david.majnemer@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi zturner, tfiala,<br>
<br>
It is possible to use make on Windows without using a Unix-like shell.<br>
However, our makefile assumes that the shell is capable of glob<br>
behavior.  Instead of hoping the shell will expand the wildcard, do it<br>
upfront in the makefile itself.<br>
<br>
<a href="http://reviews.llvm.org/D4731" target="_blank">http://reviews.llvm.org/D4731</a><br>
<br>
Files:<br>
  test/make/Makefile.rules<br>
<br>
Index: test/make/Makefile.rules<br>
===================================================================<br>
--- test/make/Makefile.rules<br>
+++ test/make/Makefile.rules<br>
@@ -367,7 +367,7 @@<br>
 all:   $(EXE) $(DSYM)<br>
 clean::<br>
        $(RM) "$(EXE)" $(OBJECTS) $(PREREQS) $(ARCHIVE_NAME) $(ARCHIVE_OBJECTS)<br>
-       $(RM) -r *.d.[0-9] *.d.[0-9][0-9] *.d.[0-9][0-9][0-9] *.d.[0-9][0-9][0-9][0-9] *.d.[0-9][0-9][0-9][0-9][0-9]<br>
+       $(RM) -r $(wildcard *.d.[0-9] *.d.[0-9][0-9] *.d.[0-9][0-9][0-9] *.d.[0-9][0-9][0-9][0-9] *.d.[0-9][0-9][0-9][0-9][0-9])<br>
 ifneq "$(DYLIB_NAME)" ""<br>
        $(RM) -r $(DYLIB_FILENAME).dSYM<br>
        $(RM) $(DYLIB_OBJECTS) $(DYLIB_PREREQS) $(DYLIB_FILENAME) $(DYLIB_FILENAME).debug<br>
</blockquote></div><br></div>