[pushed] Add a mostlyclean target to gdbserver
Tom Tromey
tom@tromey.com
Sat Feb 22 01:30:00 GMT 2020
I noticed gdbserver's Makefile doesn't have a mostlyclean target. I
use this sometimes, so this patch adds it. Adding it as a synonym of
"clean" seemed to make sense, given the contents of that rule.
gdbserver/ChangeLog
2020-02-21 Tom Tromey <tom@tromey.com>
* Makefile.in (mostlyclean): New target.
---
gdbserver/ChangeLog | 4 ++++
gdbserver/Makefile.in | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/gdbserver/Makefile.in b/gdbserver/Makefile.in
index 1baebba0f56..cc1eb808e32 100644
--- a/gdbserver/Makefile.in
+++ b/gdbserver/Makefile.in
@@ -455,7 +455,7 @@ TAGS: ${TAGFILES}
${TAGFILES}
tags: TAGS
-clean:
+mostlyclean clean:
rm -f *.o ${ADD_FILES} *~
rm -f gdbserver$(EXEEXT) gdbreplay$(EXEEXT) core make.log
rm -f $(IPA_LIB)
--
2.17.2
More information about the Gdb-patches
mailing list