SCCS-vsn: usr.bin/mkdep/mkdep.1 5.2
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
-.\" @(#)mkdep.1 5.1 (Berkeley) %G%
+.\" @(#)mkdep.1 5.2 (Berkeley) %G%
It attaches this dependency list to the end of the file \fIMakefile\fP.
An example of its use in a Makefile might be:
.nf
It attaches this dependency list to the end of the file \fIMakefile\fP.
An example of its use in a Makefile might be:
.nf
CFLAGS= -I../include -I.
SRCS= file1.c file2.c
depend:
mkdep ${CFLAGS} ${SRCS}
CFLAGS= -I../include -I.
SRCS= file1.c file2.c
depend:
mkdep ${CFLAGS} ${SRCS}
.PP
where the macro SRCS is the list of C source files and the macro
CFLAGS is the list of flags for the C compiler.
.PP
where the macro SRCS is the list of C source files and the macro
CFLAGS is the list of flags for the C compiler.