8.56 --depend_system_headers, --no_depend_system_headers

Enables and disables the output of system include dependency lines when generating makefile dependency information using either the -M option or the --md option.


The default is --depend_system_headers.


/* hello.c */
#include <stdio.h>
int main(void)
    printf("Hello, world!\n");
    return 0;

Compiling this code with the option -M produces:

__image.axf: hello.c
__image.axf: ...\include\...\stdio.h

Compiling this code with the options -M --no_depend_system_headers produces:

__image.axf: hello.c
Non-ConfidentialPDF file icon PDF versionARM DUI0472M
Copyright © 2010-2016 ARM Limited or its affiliates. All rights reserved.