aboutsummaryrefslogtreecommitdiff
path: root/gcc/cpp.texi
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2001-02-12 14:06:22 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2001-02-12 14:06:22 +0000
commit48ce6bbbe6c22735efd1e8fe6b6fbf4d8453642e (patch)
tree484bc05f164378c9dbb5ea022669b86655e63b43 /gcc/cpp.texi
parent823a99190da6b3498f94ab042597b53dc44636b8 (diff)
downloadgcc-48ce6bbbe6c22735efd1e8fe6b6fbf4d8453642e.zip
gcc-48ce6bbbe6c22735efd1e8fe6b6fbf4d8453642e.tar.gz
gcc-48ce6bbbe6c22735efd1e8fe6b6fbf4d8453642e.tar.bz2
mkdeps.c (deps_add_default_target): Robustify.
* mkdeps.c (deps_add_default_target): Robustify. Add basename component only. * cpp.texi (-M): Describe how default target is generated. * invoke.texi (-M): Likewise. From-SVN: r39602
Diffstat (limited to 'gcc/cpp.texi')
-rw-r--r--gcc/cpp.texi5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/cpp.texi b/gcc/cpp.texi
index 363b84c..756f50a 100644
--- a/gcc/cpp.texi
+++ b/gcc/cpp.texi
@@ -3495,7 +3495,10 @@ suitable for @code{make} describing the dependencies of the main source
file. The preprocessor outputs one @code{make} rule containing the
object file name for that source file, a colon, and the names of all the
included files, including those coming from @samp{-include} or
-@samp{-imacros} command line options. If there are many included files
+@samp{-imacros} command line options. Unless specified explicitly (with
+@samp{-MT} or @samp{-MQ}), the object file name consists of the basename
+of the source file with any suffix replaced with object file suffix.
+If there are many included files
then the rule is split into several lines using @samp{\}-newline.
@item -MM