Using "libtool --clean" to remove regular files is slow.

We only need to use libtool's clean mode to remove files created by libtool.
This commit is contained in:
Todd C. Miller
2020-01-18 05:53:55 -07:00
parent a6916c2199
commit d2b7148b6c
11 changed files with 24 additions and 23 deletions

View File

@@ -185,8 +185,8 @@ pvs-studio: $(POBJS)
check:
clean:
-$(LIBTOOL) $(LTFLAGS) --mode=clean rm -f *.lo *.o *.la *.a *.i *.plog \
stamp-* core *.core core.*
-$(LIBTOOL) $(LTFLAGS) --mode=clean rm -f *.lo *.o *.la
-rm -f *.i *.plog stamp-* core *.core core.*
mostlyclean: clean