From 814058acf15eb25960e28e15373da6cdda367eba Mon Sep 17 00:00:00 2001 From: ceriel Date: Wed, 6 Jun 1990 14:37:03 +0000 Subject: [PATCH] Added -A option, like -d --- util/cpp/cpp.6 | 2 ++ util/cpp/options.c | 1 + 2 files changed, 3 insertions(+) diff --git a/util/cpp/cpp.6 b/util/cpp/cpp.6 index 38b37178..99e6508f 100644 --- a/util/cpp/cpp.6 +++ b/util/cpp/cpp.6 @@ -47,6 +47,8 @@ if \fIfile\fR is not given, do not preprocess, but instead generate a list of makefile dependencies and write them to the standard output. If \fIfile\fP is given, generate preprocessor output on standard output, and generate the list of makefile dependencies on file \fIfile\fP. +.IP -\fBA\fR[\fIfile\fR] +identical to the -d option. .IP -\fBxs\fR when generating makefile dependencies, do not include files from /usr/include. diff --git a/util/cpp/options.c b/util/cpp/options.c index 429cad75..00e6e721 100644 --- a/util/cpp/options.c +++ b/util/cpp/options.c @@ -44,6 +44,7 @@ do_option(text) case 'P' : /* run preprocessor stand-alone, without #'s */ options[*(text-1)] = 1; break; + case 'A' : /* for Amake */ case 'd' : /* dependency generation */ do_dependencies = 1; if (*text) {