next up previous contents
Next: Make without Makefile Up: Makefiles - The Basic Previous: Makefiles - The Basic   Contents

What is a compile?

Compiling a single program involves several stages

\begin{displaymath}preprocess -> compile -> link -> a.out\end{displaymath}

Compiling multiple programs involves several stages for each C file do:

\begin{displaymath}preprocess -> compile -> file.o \end{displaymath}

finally do:

\begin{displaymath}link -> a.out\end{displaymath}



root 2004-03-15