Hi Jeff, * Jeff Safier wrote on Mon, Mar 27, 2006 at 05:58:31PM CEST: > Thanks for your answers. It seems automake does handle this > automattically, however we have a situation where the header files are > in a didfferent directory tree then the shource code. For that > dependency tracking is not working. Unless my INCLUDES= macro in my > Makefile.am is incorrect, im not sure how to do this, if possibe
The fact that headers are in a different directory should not matter at all to dependency generation. The INCLUDES line is only to ensure that all files you need will be distributed with `make dist'. Let's see some details about your setup: post some of Makefile.am. What does configure output look like in the lines that start with checking dependency style of ... and which compiler do you use on what system? Please don't top-post. Thanks! Cheers, Ralf