Skip to content

Commit be77403

Browse files
committed
Small word and grammar change
1 parent 2529dc7 commit be77403

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

learn/building_programs/build_tools.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -253,8 +253,9 @@ implicit rules messing up our ``Makefile`` in surprising and harmful ways.
253253
Next, we have a configuration section where we define variables, in case you
254254
want to switch out your compiler, it can be easily done here.
255255
We also introduced the ``SRCS`` variable to hold all source files, which is
256-
more intuitive than specifying object files, we can easily create the object
257-
files by appending a ``.o`` suffix using the functions ``addsuffix``.
256+
more intuitive than specifying object files.
257+
We can easily create the object files by appending a ``.o`` suffix using the
258+
functions ``addsuffix``.
258259
The ``.PHONY`` is a special rule, which should be used for all entry points
259260
of your ``Makefile``, here we define two entry point, we already know *all*,
260261
the new *clean* rule deletes all the build artifacts again such that we indeed
@@ -313,7 +314,7 @@ You should find the expected (or maybe unexpected) printout after running ``make
313314
{% include note.html content="appending with ``+=`` to an undefined variable will produce a recursively expanded variable with this state being inherited for all further appending." %}
314315

315316
While, it seems like an interesting feature to use, it tends to lead to
316-
surprising and expected outcomes. Usually, when defining variables like your
317+
surprising and unexpected outcomes. Usually, when defining variables like your
317318
compiler, there is little reason to actually use the recursive expansion at all.
318319

319320
The same can easily be archived using the ``:=`` declaration:

0 commit comments

Comments
 (0)