This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Ada] Support for building Ada utilities to autogenerate files
Zack Weinberg <zack@codesourcery.com> writes:
> On Wed, Oct 10, 2001 at 07:38:45PM +0200, Florian Weimer wrote:
> > Zack Weinberg <zack@codesourcery.com> writes:
>>
>> > Come to think of it, since Ada already requires GNU make, you ought to
>> > be able to write
>> >
>> > nmake.adb% nmake.ads%: sinfo.ads nmake.adt xnmake.adb
>>
>> No need for the '%'s, most makes support multiple targets, I think.
>> At least there's prior art in the makefile snippet of the Fortran
>> front end.
>
> The sole purpose of the '%'s is to prevent make from executing the
> command twice.
Yes, I agree that the '%'s are necessary after reading the GNU make
documentation. Thanks for the correction.