Make the $(OBJDIR) go away on clean-local.
authorReid Spencer <rspencer@reidspencer.com>
Sun, 24 Oct 2004 02:26:09 +0000 (02:26 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Sun, 24 Oct 2004 02:26:09 +0000 (02:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17197 91177308-0d34-0410-b5e6-96231b3b80d8

Makefile.rules

index 94b53bcb189ec109f02adee2b95f81cefd5e0ad0..c49f3b3d09a7c55aaf73bfd715508eafb38c48b6 100644 (file)
@@ -694,6 +694,7 @@ endif
 
 # 'make clean' nukes the tree
 clean-local::
+       $(VERB) $(RM) -rf $(OBJDIR)
        $(VERB) $(RM) -f core core.[0-9][0-9]* *.o *.d *~ *.flc
 ifneq ($(strip $(SHLIBEXT)),) # Extra paranoia - make real sure SHLIBEXT is set
        $(VERB) $(RM) -f *$(SHLIBEXT)