bug#10697: subdir-objects "make clean" invokes one rm for each .o file

2012-06-11 Thread Stefano Lattarini
On 06/10/2012 02:17 PM, Stefano Lattarini wrote: > Reference: > > See the attached patch; I will push it by tomorrow if there is no objection > (and if anyone would like to give it a try on a real project, that would be > much appreciated). > Pu

bug#10697: subdir-objects "make clean" invokes one rm for each .o file

2012-06-10 Thread Stefano Lattarini
severity 10697 minor tags 10697 + patch thanks Reference: Hi Jim, sorry for the awful delay. On 02/02/2012 05:06 PM, Jim Meyering wrote: > In cppi (http://git.savannah.gnu.org/cgit/cppi.git), I am now using non- > recursive make via subdir-obj

bug#10697: subdir-objects "make clean" invokes one rm for each .o file

2012-02-02 Thread Jim Meyering
In cppi (http://git.savannah.gnu.org/cgit/cppi.git), I am now using non- recursive make via subdir-objects, modeled after the way bison does it. I see that "make clean" is inefficient: one "rm -f" per .o file: rm -fr *.o rm -f *.o rm -f lib/calloc.o rm -f lib/close-stream.o rm -f lib/clo