Original Post
Hi folks, An easy question, i hope. I'm converting my project to linux at the moment, currently writing the Makefiles. I want to auto generate dependencies because i have a large number of source/headers. I've seen a number of scripts, and read about doing it with the gcc compiler (-MM,-MD etc). I am curious to whats the most common way to auto generate dependencies (the gcc method seems the most portable as it does not rely on outside programs). What do you folks use and why? Cheers ched