Added -A option, like -d

This commit is contained in:
ceriel 1990-06-06 14:37:03 +00:00
parent bea95a4443
commit 8d1bb88fc9
2 changed files with 3 additions and 0 deletions

View file

@ -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.

View file

@ -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) {