[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Looking for doc on target groups...
From: |
Paul Smith |
Subject: |
Re: Looking for doc on target groups... |
Date: |
Wed, 1 Sep 2010 12:49:23 -0400 |
On Wed, 2010-09-01 at 12:17 -0400, Brian R Cowan wrote:
> I have a makefile that has target definitions that look something like
> this:
>
> foo.out+bar.out+oof.out: : prereq1
> {script}
>
> I know that this is a special kind of target group ("this 'recipe'
> builds all these targets at once"), but I'll be darned if I can find
> this definition anywhere -- including in the GNU make manual.
>
> Can someone point me in the right direction please?
This is a special feature of Solaris make. I'm not aware of other
versions of make that support it; definitely GNU make does not support
this syntax. That's why you won't find it in the manual.
The above rule looks, to GNU make, like a single target with the literal
name "foo.out+bar.out+oof.out" (since you have no whitespace here).