[RFA/testsuite/ada] re-implement make clean & distclean
Mark Kettenis
mark.kettenis@xs4all.nl
Sun Dec 31 13:12:00 GMT 2006
> Date: Sun, 31 Dec 2006 14:07:55 +0400
> From: Joel Brobecker <brobecker@adacore.com>
>
> Hello,
>
> The current implementation for make clean requires us that we update
> the EXECUTABLES list each time we add a new testcase. It was a vague
> copy/paste of some code I probably found in one of the nearby Makefiles...
> It was causing me a bit of grief that certain files would not be deleted
> when I did a "make clean", in particular the executables produced by
> gnatmake. I decided to replace this with an approach we have been using
> with great success in our own testsuite for years...
>
> 2006-12-31 Joel Brobecker <brobecker@adacore.com>
>
> * gdb.ada/Makefile.in (EXECUTABLES): Delete.
> (MISCELLANEOUS): Delete.
> (clean): Re-implement.
> (mostlyclean): Likewise.
>
> Tested on my x86-linux laptop. Any objection?
Hmm, seems a bit scary to me. If I read this correctly, a file named
NOTES would be wiped isn't it? I'm using a seperate object dir, so I
probably won't care, but others might...
More information about the Gdb-patches
mailing list