Added -A option, like -d
This commit is contained in:
parent
bea95a4443
commit
8d1bb88fc9
2 changed files with 3 additions and 0 deletions
|
@ -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.
|
of makefile dependencies and write them to the standard output.
|
||||||
If \fIfile\fP is given, generate preprocessor output on standard output,
|
If \fIfile\fP is given, generate preprocessor output on standard output,
|
||||||
and generate the list of makefile dependencies on file \fIfile\fP.
|
and generate the list of makefile dependencies on file \fIfile\fP.
|
||||||
|
.IP -\fBA\fR[\fIfile\fR]
|
||||||
|
identical to the -d option.
|
||||||
.IP -\fBxs\fR
|
.IP -\fBxs\fR
|
||||||
when generating makefile dependencies, do not include files from
|
when generating makefile dependencies, do not include files from
|
||||||
/usr/include.
|
/usr/include.
|
||||||
|
|
|
@ -44,6 +44,7 @@ do_option(text)
|
||||||
case 'P' : /* run preprocessor stand-alone, without #'s */
|
case 'P' : /* run preprocessor stand-alone, without #'s */
|
||||||
options[*(text-1)] = 1;
|
options[*(text-1)] = 1;
|
||||||
break;
|
break;
|
||||||
|
case 'A' : /* for Amake */
|
||||||
case 'd' : /* dependency generation */
|
case 'd' : /* dependency generation */
|
||||||
do_dependencies = 1;
|
do_dependencies = 1;
|
||||||
if (*text) {
|
if (*text) {
|
||||||
|
|
Loading…
Reference in a new issue