Compiles source files and produces a list of makefile dependency rules suitable for use by a make utility.
The compiler creates a makefile dependency file for each source file, using a
.d suffix. Unlike
-MM, that cause compilation to
stop after the preprocessing stage,
-MMD allow for compilation to continue.
-MD lists both system header files and user header
-MMD lists only user header files.
The following example creates makefile dependency lists
test2.d and compiles the source files to an image with the default name,
armclang --target=arm-arm-none-eabi -march=armv8-a -MD test1.c test2.c