What approach do C++ programmers on Unix platform use to create and manage Makefiles?
I was using hand made Makefiles for my projects but they don\'t handle header file
Instead of the sed scripts, use gcc's -MT option to modify the target of the generated dependency rules. This blog post has more info.