You copied the Doc URL to your clipboard.


Specifies the format of output dependency files, for compatibility with some UNIX make programs.

--depend_format= string

Where string is one of:


generate dependency file entries using UNIX-style path separators.


is the same as unix, but escapes spaces with \.


is the same as unix, but surrounds path names with double quotes.



On Windows systems, --depend_format=unix forces the use of UNIX-style path names. That is, the UNIX-style path separator symbol / is used in place of \.

On UNIX systems, --depend_format=unix has no effect.


On Windows systems, --depend_format=unix_escaped forces UNIX-style path names, and escapes spaces with \.

On UNIX systems, --depend_format=unix_escaped with escapes spaces with \.


On Windows systems, --depend_format=unix_quoted forces UNIX-style path names and surrounds them with "".

On UNIX systems, --depend_format=unix_quoted surrounds path names with "".


If you do not specify a --depend_format option, then the format of output dependency files depends on your choice of operating system:


On Windows systems, the default is to use either Windows-style paths or UNIX-style paths, whichever is given.


On UNIX systems, the default is --depend_format=unix.

On a Windows system, compiling a file main.c containing the line:

#include "..\include\header files\common.h"

using the options --depend=depend.txt --depend_format=unix_escaped produces a dependency file depend.txt containing the entries:

main.axf: main.c
main.axf: ../include/header\ files/common.h
Was this page helpful? Yes No