help-make
[Top][All Lists]
Advanced

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

Re: Handling code generators


From: Fergus Henderson
Subject: Re: Handling code generators
Date: Thu, 7 Dec 2000 23:53:57 +1100

On 06-Dec-2000, Paul D. Smith <address@hidden> wrote:
>   SPEC_FILES    = a.spec b.spec c.spec
...
>   include $(SPEC_FILES:.spec=.out)

> One problem with this: when you first run the make you'll get lots of
> warnings about missing includes, as the .out files won't exist the first
> time :-/.

Won't using `-include' rather than `include' solve that problem?
Or does that cause some other problem?

-- 
Fergus Henderson <address@hidden>  |  "I have always known that the pursuit
                                    |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.



reply via email to

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