From dda42c0b7baba24d182a408574650ff162f44ec3 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Fri, 21 Feb 2020 18:27:31 -0700 Subject: [PATCH] Add a mostlyclean target to gdbserver 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 * Makefile.in (mostlyclean): New target. --- gdbserver/ChangeLog | 4 ++++ gdbserver/Makefile.in | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdbserver/ChangeLog b/gdbserver/ChangeLog index be39358f78..dc8964b463 100644 --- a/gdbserver/ChangeLog +++ b/gdbserver/ChangeLog @@ -1,3 +1,7 @@ +2020-02-21 Tom Tromey + + * Makefile.in (mostlyclean): New target. + 2020-02-20 Tankut Baris Aktemur * target.h (struct process_stratum_target): Remove. diff --git a/gdbserver/Makefile.in b/gdbserver/Makefile.in index 1baebba0f5..cc1eb808e3 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)