Skip to content

Commit 3ac724e

Browse files
committed
Added more information on make.
1 parent 5ddfae0 commit 3ac724e

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

common.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
% Unix programming in C
2-
% (c) 1999-2018, Martin Beran, Jan Pechanec, Vladimir Kotal
2+
% (c) 1999-2019, Martin Beran, Jan Pechanec, Vladimir Kotal
33

44
% (janp) notes
55
%

intro.tex

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
% \accent23o{u} - krouzek nad u samozrejme
1717

1818
\vspace{2ex}
19-
{\small (c) 2011 -- 2018 Vladim\'{i}r Kotal}\\
20-
{\small (c) 2005 -- 2011, 2016 -- 2018 Jan Pechanec}\\
19+
{\small (c) 2011 -- 2019 Vladim\'{i}r Kotal}\\
20+
{\small (c) 2005 -- 2011, 2016 -- 2019 Jan Pechanec}\\
2121
{\small (c) 1999 -- 2004 Martin Beran}
2222

2323
\vspace{2ex}
@@ -1128,6 +1128,7 @@
11281128
\item \makebox[4cm][l]{line continuation:}
11291129
\texttt{\emph{line-begin}}\verb#\#\\
11301130
\makebox[4cm][l]{~} \texttt{\emph{line-continuation}}
1131+
11311132
\end{itemize}
11321133
\end{slide}
11331134

@@ -1177,6 +1178,8 @@
11771178
-false
11781179
echo "OK"
11791180
\end{verbatim}
1181+
\item You can start building from a specific target: \texttt{make <target>}. If
1182+
there is no target argument, the first target in the makefile is assumed.
11801183
\end{itemize}
11811184

11821185
%%%%%
@@ -1201,7 +1204,9 @@
12011204

12021205
\begin{itemize}
12031206
\item If a macro is defined multiple times, the last definition rules, you can
1204-
see an example in \example{basic-utils/Makefile03}.
1207+
see an example in \example{basic-utils/Makefile03}. The definition on the
1208+
command line goes after any definition in the Makefile. Try \texttt{make -f
1209+
Makefile03 D=4}.
12051210
\item You cannot define a macro recursively, see
12061211
\example{basic-utils/Makefile05}:
12071212

0 commit comments

Comments
 (0)