Index: lldb/packages/Python/lldbsuite/test/api/multithreaded/Makefile =================================================================== --- lldb/packages/Python/lldbsuite/test/api/multithreaded/Makefile +++ lldb/packages/Python/lldbsuite/test/api/multithreaded/Makefile @@ -2,6 +2,3 @@ CXX_SOURCES := main.cpp include Makefile.rules - -clean:: - rm -rf $(wildcard *.o *.d *.dSYM) Index: lldb/packages/Python/lldbsuite/test/commands/expression/call-function/Makefile =================================================================== --- lldb/packages/Python/lldbsuite/test/commands/expression/call-function/Makefile +++ lldb/packages/Python/lldbsuite/test/commands/expression/call-function/Makefile @@ -1,6 +1,3 @@ CXX_SOURCES := main.cpp include Makefile.rules - -clean:: - rm -rf $(wildcard *.o *.d *.dSYM) Index: lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/comp_dir_symlink/Makefile =================================================================== --- lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/comp_dir_symlink/Makefile +++ lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/comp_dir_symlink/Makefile @@ -7,6 +7,3 @@ # Force relative filenames by copying it into the build directory. relative.cpp: main.cpp cp -f $< $@ - -clean:: - rm -rf relative.cpp Index: lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/synthupdate/Makefile =================================================================== --- lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/synthupdate/Makefile +++ lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/synthupdate/Makefile @@ -3,6 +3,3 @@ LD_EXTRAS := -framework Foundation include Makefile.rules - -clean:: - rm -rf $(wildcard *.o *.d *.dSYM *.log) Index: lldb/packages/Python/lldbsuite/test/functionalities/memory-region/Makefile =================================================================== --- lldb/packages/Python/lldbsuite/test/functionalities/memory-region/Makefile +++ lldb/packages/Python/lldbsuite/test/functionalities/memory-region/Makefile @@ -1,6 +1,3 @@ CXX_SOURCES := main.cpp include Makefile.rules - -clean:: - rm -rf $(wildcard *.o *.d *.dSYM) Index: lldb/packages/Python/lldbsuite/test/functionalities/tail_call_frames/cross_dso/Makefile =================================================================== --- lldb/packages/Python/lldbsuite/test/functionalities/tail_call_frames/cross_dso/Makefile +++ lldb/packages/Python/lldbsuite/test/functionalities/tail_call_frames/cross_dso/Makefile @@ -11,7 +11,3 @@ lib_%: $(MAKE) VPATH=$(SRCDIR)/$* -I $(SRCDIR) -f $(SRCDIR)/$*.mk DSYMUTIL=$(DSYMUTIL) - -clean:: - $(MAKE) -f $(SRCDIR)/One.mk clean - $(MAKE) -f $(SRCDIR)/Two.mk clean Index: lldb/packages/Python/lldbsuite/test/functionalities/target_var/Makefile =================================================================== --- lldb/packages/Python/lldbsuite/test/functionalities/target_var/Makefile +++ lldb/packages/Python/lldbsuite/test/functionalities/target_var/Makefile @@ -3,6 +3,3 @@ a.out: globals.ll $(CC) $(CFLAGS) -g -c $^ -o globals.o $(LD) $(LDFLAGS) -g globals.o -o $@ - -clean:: - rm -rf globals.o a.out *.dSYM Index: lldb/packages/Python/lldbsuite/test/lang/c/conflicting-symbol/Makefile =================================================================== --- lldb/packages/Python/lldbsuite/test/lang/c/conflicting-symbol/Makefile +++ lldb/packages/Python/lldbsuite/test/lang/c/conflicting-symbol/Makefile @@ -8,7 +8,3 @@ lib_%: $(MAKE) VPATH=$(SRCDIR)/$* -I $(SRCDIR) -f $(SRCDIR)/$*.mk - -clean:: - $(MAKE) -f $(SRCDIR)/One.mk clean - $(MAKE) -f $(SRCDIR)/Two.mk clean Index: lldb/packages/Python/lldbsuite/test/lang/cpp/char1632_t/Makefile =================================================================== --- lldb/packages/Python/lldbsuite/test/lang/cpp/char1632_t/Makefile +++ lldb/packages/Python/lldbsuite/test/lang/cpp/char1632_t/Makefile @@ -1,6 +1,4 @@ CXX_SOURCES := main.cpp CFLAGS :=-g -O0 -std=c++11 -clean: OBJECTS+=$(wildcard main.d.*) - include Makefile.rules Index: lldb/packages/Python/lldbsuite/test/lang/cpp/enum_types/Makefile =================================================================== --- lldb/packages/Python/lldbsuite/test/lang/cpp/enum_types/Makefile +++ lldb/packages/Python/lldbsuite/test/lang/cpp/enum_types/Makefile @@ -2,8 +2,4 @@ CXXFLAGS_EXTRAS := -std=c++11 -clean: OBJECTS+=$(wildcard main.d.*) - - - include Makefile.rules Index: lldb/packages/Python/lldbsuite/test/lang/cpp/overriden-methods/Makefile =================================================================== --- lldb/packages/Python/lldbsuite/test/lang/cpp/overriden-methods/Makefile +++ lldb/packages/Python/lldbsuite/test/lang/cpp/overriden-methods/Makefile @@ -1,6 +1,3 @@ CXX_SOURCES := main.cpp include Makefile.rules - -clean:: - rm -rf $(wildcard *.o *.d *.dSYM) Index: lldb/packages/Python/lldbsuite/test/lang/cpp/stl/Makefile =================================================================== --- lldb/packages/Python/lldbsuite/test/lang/cpp/stl/Makefile +++ lldb/packages/Python/lldbsuite/test/lang/cpp/stl/Makefile @@ -1,6 +1,4 @@ CXX_SOURCES := main.cpp CFLAGS := -g -O0 -clean: OBJECTS+=$(wildcard main.d.*) - include Makefile.rules Index: lldb/packages/Python/lldbsuite/test/lang/cpp/unicode-literals/Makefile =================================================================== --- lldb/packages/Python/lldbsuite/test/lang/cpp/unicode-literals/Makefile +++ lldb/packages/Python/lldbsuite/test/lang/cpp/unicode-literals/Makefile @@ -1,6 +1,4 @@ CXX_SOURCES := main.cpp CFLAGS := -g -O0 -std=c++11 -clean: OBJECTS+=$(wildcard main.d.*) - include Makefile.rules Index: lldb/packages/Python/lldbsuite/test/lang/cpp/wchar_t/Makefile =================================================================== --- lldb/packages/Python/lldbsuite/test/lang/cpp/wchar_t/Makefile +++ lldb/packages/Python/lldbsuite/test/lang/cpp/wchar_t/Makefile @@ -1,6 +1,4 @@ CXX_SOURCES := main.cpp CFLAGS := -g -O0 -clean: OBJECTS+=$(wildcard main.d.*) - include Makefile.rules Index: lldb/packages/Python/lldbsuite/test/lang/objc/objc-ivar-stripped/Makefile =================================================================== --- lldb/packages/Python/lldbsuite/test/lang/objc/objc-ivar-stripped/Makefile +++ lldb/packages/Python/lldbsuite/test/lang/objc/objc-ivar-stripped/Makefile @@ -6,8 +6,4 @@ a.out.stripped: a.out.dSYM strip -o a.out.stripped a.out -clean:: - rm -f a.out.stripped - rm -rf a.out.stripped.dSYM - include Makefile.rules Index: lldb/packages/Python/lldbsuite/test/lang/objc/objc-static-method-stripped/Makefile =================================================================== --- lldb/packages/Python/lldbsuite/test/lang/objc/objc-static-method-stripped/Makefile +++ lldb/packages/Python/lldbsuite/test/lang/objc/objc-static-method-stripped/Makefile @@ -7,8 +7,4 @@ strip -o a.out.stripped a.out ln -sf a.out.dSYM a.out.stripped.dSYM -clean:: - rm -f a.out.stripped - rm -rf $(wildcard *.dSYM) - include Makefile.rules Index: lldb/packages/Python/lldbsuite/test/linux/add-symbols/Makefile =================================================================== --- lldb/packages/Python/lldbsuite/test/linux/add-symbols/Makefile +++ lldb/packages/Python/lldbsuite/test/linux/add-symbols/Makefile @@ -6,7 +6,4 @@ stripped.out : a.out $(OBJCOPY) --remove-section=.note.gnu.build-id --remove-section=.gnu_debuglink --strip-debug $< $@ -clean:: - $(RM) stripped.out - include Makefile.rules Index: lldb/packages/Python/lldbsuite/test/linux/mix-dwo-and-regular-objects/Makefile =================================================================== --- lldb/packages/Python/lldbsuite/test/linux/mix-dwo-and-regular-objects/Makefile +++ lldb/packages/Python/lldbsuite/test/linux/mix-dwo-and-regular-objects/Makefile @@ -2,7 +2,3 @@ a.o: CFLAGS_EXTRAS := -gsplit-dwarf include Makefile.rules - -.PHONY: clean -clean:: - $(RM) -f a.dwo a.o b.o main Index: lldb/packages/Python/lldbsuite/test/linux/sepdebugsymlink/Makefile =================================================================== --- lldb/packages/Python/lldbsuite/test/linux/sepdebugsymlink/Makefile +++ lldb/packages/Python/lldbsuite/test/linux/sepdebugsymlink/Makefile @@ -13,7 +13,4 @@ mkdir $@ ln -s ../$