Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

gcc -M equivalent

ereisch
New Contributor II
508 Views
I guess this would be more of a feature request, but it'd be really nice if there was an ifort flag that was similar to the gcc "-M" flag. From the gcc manual:

-M 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.

With over 1,000 source files in my application, maintaining makefiles can be tedious. :-)
0 Kudos
1 Reply
Steven_L_Intel1
Employee
508 Views
I suggest you file a Feature Request with Intel Premier Support. That way it will get into our planning process. I know we've at least thought about this in the past.
0 Kudos
Reply