Produces a list of makefile dependency rules suitable for use by a make utility.
The compiler executes only the preprocessor step of the compilation. By default, output is on the standard output stream.
If you specify multiple source files, a single dependency file is created.
-MToption lets you override the target name in the dependency rules.
-MDoption lets you compile the source files as well as produce makefile dependency rules.
You can redirect output to a file using standard UNIX and MS-DOS notation or the
-o option, for
source.c > Makefile armclang -M
source.c -o Makefile