Re: Why make's include directive does not work

"shellux" <[email protected]>
Newsgroups gmane.comp.gnu.utils
Organization http://groups.google.com
Message-ID <[email protected]>
On Apr 4, 2:40 am, Henrik Carlqvist <[email protected]>
wrote:
> "shellux" <[email protected]> wrote:
> >  Maybe, the most odd problem is that, when I remove "include $
> > (dependences)" , all problem go away!!! Can you tell me why? Thank you
> > very much.
>
> Your make file have rules to create $(dependencies) if they do not exist,
> but maybe it is har to include non-existing files. Im only guessing now,
> but it might help if you change the line to:
>
> include $(wildcard $(dependences))
>
> The above will filter out not-yet-existing .d files.
>
> regards Henrik
> --
> The address in the header is only to prevent spam. My real address is:
> hc1(at)poolhem.se Examples of addresses which go to spammers:
> root@localhost postmaster@localhost

Your suggests are very good. Thank you!!
I have already solved this problem.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.