Download Firefox: WindowsMac OS X
logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: Proposed syntax for static make-also rule: msg#00007

Subject: Re: Proposed syntax for static make-also rule
Henning Makholm <henning@xxxxxxxxxxx> writes:

> I've volunteered to add support for non-pattern rules that say that a
> single command updates several files, to GNU make. Paul asked me to
> let this list look at my proposed syntax before I start coding. So
> here I am.

Hi Henning,

FYI, I implemented this feature some months ago.
I used different syntax:

        [ TARGETS ] : PREREQUISITES

Adding square brackets around the list of targets to group them.
I like the "&:" syntax better, so we can forget about my syntax.

The backend implementation will work with any frontend syntax.  If you
don't have your own backend yet, I suggest you have a look at mine.
I'll post a patch when I find time over the next day or two.

Greg


<Prev in Thread] Current Thread [Next in Thread>