Hello everyone, What is the function of gcc/g++ -M option? I have read through the man page but still can not understand. Could anyone show me an example please? Linux man page -------------------- Instead of outputting the result of preprocessing, output a rule suitable for make describing the dependencies of the main source file. The preprocessor outputs one make rule containing the object file name for that source file, a colon, and the names of all the included files, including those coming from -include or -imacros command line options. -------------------- thanks in advance, George __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com