7.38 --depend_single_line, --no_depend_single_line

Specifies the format of the makefile dependency lines output by the compiler.

--depend_single_line instructs the compiler to format the makefile with one dependency line for each compilation unit. The compiler wraps long lines to improve readability.
--no_depend_single_line instructs the compiler to format the makefile with one line for each include file or source file.

Default

The default is --no_depend_single_line.

Examples

/* hello.c */
#include <stdio.h>
int main(void)
{
    printf("Hello, world!\n");
    return 0;
}
Compiling this code with armcc hello.c -M --depend_single_line produces:
__image.axf: hello.c ...\include\...\stdio.h
Compiling this code with armcc hello.c -M --no_depend_single_line produces:
__image.axf: hello.c
__image.axf: ...\include\...\stdio.h
Related reference
7.35 --depend=filename
7.37 --depend_format=string
7.40 --depend_target=target
7.74 --ignore_missing_headers
7.101 -M
7.102 --md
7.125 --phony_targets
Non-ConfidentialPDF file icon PDF versionARM DUI0375E
Copyright © 2007, 2008, 2011, 2012, 2014 ARM. All rights reserved.