make dependencies
Posted: Tue Dec 05, 2006 4:17 pm
Hi,
Does someone know if it is possible to make the 'make' tool "automagically" find header files dependencies (.h files), ie. when I include "xxx.h" in "xxx.cpp" and I edit "xxx.h" 'make' should recompile "xxx.cpp". It should somehow parse the .cpp/.c files and find all dependencies to .h files. The same applied to .asm files included in other .asm files.
Does someone know if it is possible to make the 'make' tool "automagically" find header files dependencies (.h files), ie. when I include "xxx.h" in "xxx.cpp" and I edit "xxx.h" 'make' should recompile "xxx.cpp". It should somehow parse the .cpp/.c files and find all dependencies to .h files. The same applied to .asm files included in other .asm files.