--
[flags]
file ...
CFLAGS= -O -I../include
SRCS= file1.c file2.c
depend:
mkdep -- ${CFLAGS} ${SRCS}
where the macro SRCS is the list of C source files and the macro CFLAGS is the list of flags for the C compiler.
The options are as follows:
program: program.c
so that subsequent makes will produce
program
directly from its C module rather than using an intermediate
.o
module.
This is useful for programs whose source is contained in a single
module.
-p
is equivalent to specifying a null suffix with
-s.
.depend