This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: 3.2 PATCH: Fully support parallel gnat1/gnatbind builds
- From: Jonathan Lennox <lennox at cs dot columbia dot edu>
- To: Rainer Orth <ro at TechFak dot Uni-Bielefeld dot DE>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 16 May 2002 15:06:52 -0400
- Subject: Re: 3.2 PATCH: Fully support parallel gnat1/gnatbind builds
- References: <15586.57508.987634.275222@xayide.TechFak.Uni-Bielefeld.DE>
Rainer Orth wrote:
> One issue seriously confused me: the old .adb.o and .ads.o suffix rules
> from ada/Makefile.in didn't work for me any longer: running e.g. make
> ada/gnat1drv.o in gcc just gave `ada/gnat1drv.o is up to date'. I needed
> to change them into GNU make pattern rules so they work as expected. Since
> ada bootstraps require GNU make anyway, this shouldn't be a problem, but
> it's still ugly, and I don't really understand why our .c.o suffix rules
> work for C sources in subdirs while the .ads.o etc. rules don't (probably
> because GNU make has built-in pattern rules for %.o: %.c, but not for Ada?).
Are .adb and .ads defined in the Makefile's SUFFIXES variable? .c and .o
are included by default.
See <http://www.gnu.org/manual/make-3.79.1/html_chapter/make_10.html>.
--
Jonathan Lennox
lennox@cs.columbia.edu