ack/util/cmisc/mkdep.1

30 lines
692 B
Groff
Raw Normal View History

1991-10-01 12:18:39 +00:00
.TH MKDEP 1 "$Revision$"
1987-03-11 13:56:17 +00:00
.ad
1987-02-04 12:45:43 +00:00
.SH NAME
mkdep \- dependency generator for C-programs
.SH SYNOPSYS
1991-10-01 12:18:39 +00:00
.B mkdep
[ -d ] file ...
1987-02-04 12:45:43 +00:00
.SH DESCRIPTION
.I Mkdep
scans the files in the argument list for C-preprocessor lines of the form
1988-09-07 10:13:36 +00:00
.nf
#include "\fIfile1\fP"
.fi
and produces for each file \fIarg\fR in the argument list lines of the form
1988-09-07 10:13:36 +00:00
.nf
\fIarg\fR: \fIfile1\fR
\fIarg\fR: \fIfile2\fR
...
.fi
1987-02-04 12:45:43 +00:00
where \fIfile1\fR, \fIfile2\fR, etc. are filenames included by \fIarg\fR, or
by a file included by \fIarg\fR, etc.
.PP
The \fB-d\fP suppresses the \fIarg\fR: part.
.PP
1987-02-04 12:45:43 +00:00
Only files in the current directory are scanned.
.SH "SEE ALSO"
make(1)
.SH BUGS
Should be able to handle files from other directories