This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: make clean doesn't run in gdbserver/common
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Yao Qi <yao at codesourcery dot com>
- Cc: Michael Snyder <msnyder at vmware dot com>, "gdb at sourceware dot org" <gdb at sourceware dot org>
- Date: Wed, 23 Feb 2011 07:36:06 +0400
- Subject: Re: make clean doesn't run in gdbserver/common
- References: <4D642638.8090207@vmware.com> <4D647F61.5080307@codesourcery.com>
> gdb/gdbserver/
>
> * Makefile.in (CLEANDIRS, REQUIRED_SUBDIRS): New variable.
> (subdir_do): New make target. Copied from gdb/Makefile.
> (maintainer-clean, realclean, distclean, clean): Call corresponding
> make targets in common/Makefile.
What happens if you do a "make distclean" on a platform where both GDB
& GDBserver get built automatically in one "make"? It looks like we
will first do a distclean in gdb/ first, deleting gdb/common/Makefile,
and then do a distclean in gdbserver/, which will try to do a distclean
a second time in gdb/common, no? The second one will fail due to the
missing Makefile.
--
Joel