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: Paul D. Smith
Subject: Re: Make feature rq: Non-pattern rules with multi-target commands
Date: Sun, 20 Oct 2002 21:23:55 -0400

%% Philip Guenther <address@hidden> writes:

  pg> Yeah, this can be useful in some cases.  I remember doing this with
  pg> SunOS 4's make using the syntax

  pg> target1 + target2: dependencies
  pg>   command

  pg> but GNU make does not (currently) support that.

I don't like this syntax: it's confusing.  What does something like this
mean?

  target1 + target2 target3: prerequisites
        command

??  There are two obvious things it might mean, and I don't like either
of them :).


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.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <address@hidden>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.paulandlesley.org
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist




reply via email to

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