bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Make feature rq: Non-pattern rules with multi-target commands


From: Henning Makholm
Subject: Re: Make feature rq: Non-pattern rules with multi-target commands
Date: 21 Oct 2002 16:52:28 +0200

Scripsit "Paul D. Smith" <address@hidden>

> When GNU make gets this feature, I don't think it will use this syntax.
> I was thinking something like adding a special delimiter:

>   target1 target2 +: prerequisites
>         command

> or "|:" or something like that.

One possibility that didn't introduce any new syntax would be that if
for a rule

   target1 target2: prerequisites
        command1
        command2

the automatic variables $@ and $% are never unfolded during the
evaluation of the commands, make would assume that the commands
have made all the targets up-to-date.

Such a principle may be too arcane and adhockish to admit of
understandable documentation, however.

-- 
Henning Makholm                            "What a hideous colour khaki is."




reply via email to

[Prev in Thread] Current Thread [Next in Thread]