From 2468a4795b6a0b0c99b70ffe623629a5ca0199ff Mon Sep 17 00:00:00 2001 From: Simon Cornish Date: Mon, 14 Dec 2009 14:50:12 -0800 Subject: Fix 'make clean' in erts with debug builds under Darwin The Apple compiler creates DWARF debugging symbols in a bundle (ie. a directory) named .dSYM In order for make clean to work correctly, the rm command needs -r --- erts/emulator/Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'erts/emulator') diff --git a/erts/emulator/Makefile.in b/erts/emulator/Makefile.in index a2061134a5..903e1e96ba 100644 --- a/erts/emulator/Makefile.in +++ b/erts/emulator/Makefile.in @@ -402,7 +402,7 @@ endif $(RM) -f $(TARGET)/*/*/*.c $(TARGET)/*/*/*.h $(TARGET)/*/*/*.S $(RM) -f $(ERL_TOP)/erts/emulator/obj/$(TARGET)/*/*/*.o $(RM) -f $(BINDIR)/beam $(BINDIR)/beam.* - $(RM) -f $(BINDIR)/child_setup $(BINDIR)/child_setup.* + $(RM) -rf $(BINDIR)/child_setup $(BINDIR)/child_setup.* $(RM) -f $(BINDIR)/hipe_mkliterals $(BINDIR)/hipe_mkliterals.* @set -e ; cd zlib && $(MAKE) clean @set -e ; cd pcre && $(MAKE) clean -- cgit v1.2.3