Pristine Ack-5.5
[Ack-5.5.git] / util / cmisc / mkdep.1
1 .TH MKDEP 1 "$Revision: 1.7 $"
2 .ad
3 .SH NAME
4 mkdep \- dependency generator for C-programs
5 .SH SYNOPSYS
6 .B mkdep
7 [ -d ] file ...
8 .SH DESCRIPTION
9 .I Mkdep
10 scans the files in the argument list for C-preprocessor lines of the form
11 .nf
12         #include "\fIfile1\fP"
13 .fi
14 and produces for each file \fIarg\fR in the argument list lines of the form
15 .nf
16         \fIarg\fR: \fIfile1\fR
17         \fIarg\fR: \fIfile2\fR
18         ...
19 .fi
20 where \fIfile1\fR, \fIfile2\fR, etc. are filenames included by \fIarg\fR, or
21 by a file included by \fIarg\fR, etc.
22 .PP
23 The \fB-d\fP suppresses the \fIarg\fR: part.
24 .PP
25 Only files in the current directory are scanned.
26 .SH "SEE ALSO"
27 make(1)
28 .SH BUGS
29 Should be able to handle files from other directories