Bernhard Fischer wrote:
> (In reply to comment #1)
> 
>>I don't know of a way to prevent 'make' from complaining about missing
>>files. 
>>Sorry.
>>
>>
> 
> 
> 4.9 Special Built-in Target Names
> =================================
> 
> Certain names have special meanings if they appear as targets.
> 
> `.PHONY'
>      The prerequisites of the special target `.PHONY' are considered to
>      be phony targets.  When it is time to consider such a target,
>      `make' will run its commands unconditionally, regardless of
>      whether a file with that name exists or what its last-modification
>      time is.  *Note Phony Targets: Phony Targets.
> 
> so:
> 
> .PHONY: depend
> 
> depend:
>       -do_depend_stuff
> 
> If "depend" is a file you want to run, you can ignore errors with a
> leading minus:
> 
> all:
>       -depend
> 
> 5.4 Errors in Commands
> ======================
> [snip]
>    To ignore errors in a command line, write a `-' at the beginning of
> the line's text (after the initial tab).  The `-' is discarded before
> the command is passed to the shell for execution.

In this particular case, the problem comes from the "include depend" 
line - not "depend" being a non-existant target.

.PHONY does not effect include commands.

Besides, the depend file is not a phony target; it's a real file.

-Brian

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to