[pushed] Add a mostlyclean target to gdbserver

Message ID 20200222012950.23971-1-tom@tromey.com
State New
Headers show
  • [pushed] Add a mostlyclean target to gdbserver
Related show

Commit Message

Tom Tromey Feb. 22, 2020, 1:29 a.m.
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.

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}
 tags: TAGS
+mostlyclean clean:
 	rm -f *.o ${ADD_FILES} *~
 	rm -f gdbserver$(EXEEXT) gdbreplay$(EXEEXT) core make.log
 	rm -f $(IPA_LIB)