8.52 --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
Related reference
8.48 --depend=filename
8.50 --depend_format=string
8.53 --depend_target=target
8.99 --ignore_missing_headers
8.127 -M
8.128 --md
8.151 --phony_targets
Non-ConfidentialPDF file icon PDF versionARM DUI0472J
Copyright © 2010-2013 ARM. All rights reserved.