Use wildcard instead of relying on shell globbing.
authorChaoren Lin <chaorenl@google.com>
Tue, 2 Jun 2015 19:07:26 +0000 (19:07 +0000)
committerChaoren Lin <chaorenl@google.com>
Tue, 2 Jun 2015 19:07:26 +0000 (19:07 +0000)
Reviewers: clayborg, zturner

Subscribers: lldb-commits

Differential Revision: http://reviews.llvm.org/D10194

llvm-svn: 238859

lldb/test/expression_command/call-function/Makefile
lldb/test/functionalities/data-formatter/rdar-12437442/Makefile

index fa7aa85..d4b82b3 100644 (file)
@@ -12,4 +12,4 @@ endif
 include $(LEVEL)/Makefile.rules
 
 clean::
-       rm -rf *.o *.d *.dSYM
+       rm -rf $(wildcard *.o *.d *.dSYM)
index a71c8d7..a8e1853 100644 (file)
@@ -9,5 +9,4 @@ include $(LEVEL)/Makefile.rules
 LDFLAGS += -framework Foundation
 
 clean::
-       rm -rf *.o *.d *.dSYM *.log
-       
\ No newline at end of file
+       rm -rf $(wildcard *.o *.d *.dSYM *.log)