Is there an equivalent to the gcc -MM command?
For those that haven't come across it, it produces a dependency list for the given file that you can then use in make.
I am aware of the --autobuild option but the source that I have inherited needs dependencies in the makefile itself due to having to calculate targets on the fly depending upon what data is supplied, There is no way around it :/
I can force a complete rebuild each time (which isnt too time consuming really) but I would rather know that stuff gets built when it is needed, just in case...
Thanks in advance, Bryan "Brain Murders" Meredith