[Lldb-commits] [lldb] r203271 - Use predefined $(RM) in clean rule, and -r only for (expected) directories
Ed Maste
emaste at freebsd.org
Fri Mar 7 11:11:00 PST 2014
Author: emaste
Date: Fri Mar 7 13:11:00 2014
New Revision: 203271
URL: http://llvm.org/viewvc/llvm-project?rev=203271&view=rev
Log:
Use predefined $(RM) in clean rule, and -r only for (expected) directories
Modified:
lldb/trunk/test/make/Makefile.rules
Modified: lldb/trunk/test/make/Makefile.rules
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/make/Makefile.rules?rev=203271&r1=203270&r2=203271&view=diff
==============================================================================
--- lldb/trunk/test/make/Makefile.rules (original)
+++ lldb/trunk/test/make/Makefile.rules Fri Mar 7 13:11:00 2014
@@ -363,12 +363,13 @@ endif
dsym: $(DSYM)
all: $(EXE) $(DSYM)
clean::
- rm -rf "$(EXE)" $(OBJECTS) $(PREREQS) $(ARCHIVE_NAME) $(ARCHIVE_OBJECTS) *.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]
+ $(RM) "$(EXE)" $(OBJECTS) $(PREREQS) $(ARCHIVE_NAME) $(ARCHIVE_OBJECTS)
+ $(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]
ifneq "$(DYLIB_NAME)" ""
- rm -rf $(DYLIB_OBJECTS) $(DYLIB_PREREQS) $(DYLIB_FILENAME) $(DYLIB_FILENAME).dSYM $(DYLIB_FILENAME).debug
+ $(RM) $(DYLIB_OBJECTS) $(DYLIB_PREREQS) $(DYLIB_FILENAME) $(DYLIB_FILENAME).dSYM $(DYLIB_FILENAME).debug
endif
ifneq "$(DSYM)" ""
- rm -rf "$(DSYM)"
+ $(RM) "$(DSYM)"
endif
More information about the lldb-commits
mailing list