Fix clean rule for a makefile
authorPavel Labath <labath@google.com>
Fri, 1 Apr 2016 12:59:37 +0000 (12:59 +0000)
committerPavel Labath <labath@google.com>
Fri, 1 Apr 2016 12:59:37 +0000 (12:59 +0000)
The test was failing on windows because the clean rule (which is executed even if the test is
skipped) returned an error there.

llvm-svn: 265140

lldb/packages/Python/lldbsuite/test/lang/objc/objc-static-method-stripped/Makefile

index 01392a8..6c5492d 100644 (file)
@@ -11,6 +11,6 @@ a.out.stripped: a.out.dSYM
 
 clean::
        rm -f a.out.stripped
-       rm -rf *.dSYM
+       rm -rf $(wildcard *.dSYM)
 
 include $(LEVEL)/Makefile.rules