Add a mostlyclean target to gdbserver
authorTom Tromey <tom@tromey.com>
Sat, 22 Feb 2020 01:27:31 +0000 (18:27 -0700)
committerTom Tromey <tom@tromey.com>
Sat, 22 Feb 2020 01:30:10 +0000 (18:30 -0700)
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
gdbserver/Makefile.in

index be39358f789bf43ca951c34ae29537b60c48bb8e..dc8964b463b1ea1f37a5cd88c72720271e90bb3c 100644 (file)
@@ -1,3 +1,7 @@
+2020-02-21  Tom Tromey  <tom@tromey.com>
+
+       * Makefile.in (mostlyclean): New target.
+
 2020-02-20  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>
 
        * target.h (struct process_stratum_target): Remove.
index 1baebba0f5616d8c14007ca4d7ab6fd9e96a20c6..cc1eb808e322cc9a1d131a7a7e166216f4a3fc18 100644 (file)
@@ -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)