[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: make idiom for multiple file output
From: |
Bernd Jendrissek |
Subject: |
Re: make idiom for multiple file output |
Date: |
Wed, 12 Jun 2002 13:11:27 +0200 |
In article <1023504048@sheol.org> Wayne Throop <throopw@sheol.org> wrote:
>Is there a well known idiom for a single action that produces
>multiple files, when those files have names not related by a stem?
[snip]
>The closest I can come up with is
>
> foo: bar;
> bar: mumble; cmd
>
>Note that
>
> foo: bar
> bar: mumble; cmd
>
>doesn't work properly.
I think automake deals with this also. 1.6.1b now deals with yacc parsers
better than it used to. (I.e. yy.tab.h can be remade after it is deleted.)
The gist of it is that "foo: bar" needs a rule. "rm -f bar; $(MAKE) bar"
or some variant of that seems to work.
bernd
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: make idiom for multiple file output,
Bernd Jendrissek <=