[FE training-materials-updates] Simple Makefiles: highlight the need for tabs
Michael Opdenacker
michael.opdenacker at free-electrons.com
Fri Nov 10 17:11:50 CET 2017
Repository : git://git.free-electrons.com/training-materials.git
On branch : master
Link : http://git.free-electrons.com/training-materials/commit/?id=83e8731312915960a348dfb2733b70ed5ea2b0f3
>---------------------------------------------------------------
commit 83e8731312915960a348dfb2733b70ed5ea2b0f3
Author: Michael Opdenacker <michael.opdenacker at free-electrons.com>
Date: Fri Nov 10 17:11:50 2017 +0100
Simple Makefiles: highlight the need for tabs
- Through the use of SVG documents (with color)
Signed-off-by: Michael Opdenacker <michael.opdenacker at free-electrons.com>
>---------------------------------------------------------------
83e8731312915960a348dfb2733b70ed5ea2b0f3
.../simple-makefile1.svg | 340 +++++++++++++++++++
.../simple-makefile2.svg | 365 +++++++++++++++++++++
.../sysdev-application-development.tex | 39 +--
3 files changed, 709 insertions(+), 35 deletions(-)
diff --git a/slides/sysdev-application-development/simple-makefile1.svg b/slides/sysdev-application-development/simple-makefile1.svg
new file mode 100644
index 0000000..04ac472
--- /dev/null
+++ b/slides/sysdev-application-development/simple-makefile1.svg
@@ -0,0 +1,340 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ width="893.57129"
+ height="527.09515"
+ id="svg2"
+ version="1.1"
+ inkscape:version="0.92.1 r15371"
+ sodipodi:docname="simple-makefile1.svg"
+ viewBox="0 0 837.72312 494.15173">
+ <defs
+ id="defs4">
+ <marker
+ inkscape:stockid="Arrow2Lstart"
+ orient="auto"
+ refY="0"
+ refX="0"
+ id="Arrow2Lstart"
+ style="overflow:visible"
+ inkscape:isstock="true">
+ <path
+ id="path4615"
+ style="fill:#d91111;fill-opacity:1;fill-rule:evenodd;stroke:#d91111;stroke-width:0.625;stroke-linejoin:round;stroke-opacity:1"
+ d="M 8.7185878,4.0337352 -2.2072895,0.01601326 8.7185884,-4.0017078 c -1.7454984,2.3720609 -1.7354408,5.6174519 -6e-7,8.035443 z"
+ transform="matrix(1.1,0,0,1.1,1.1,0)"
+ inkscape:connector-curvature="0" />
+ </marker>
+ <marker
+ inkscape:stockid="Arrow1Lend"
+ orient="auto"
+ refY="0"
+ refX="0"
+ id="Arrow1Lend"
+ style="overflow:visible"
+ inkscape:isstock="true">
+ <path
+ id="path4855"
+ d="M 0,0 5,-5 -12.5,0 5,5 Z"
+ style="fill:#d12e2e;fill-opacity:1;fill-rule:evenodd;stroke:#d12e2e;stroke-width:1.00000003pt;stroke-opacity:1"
+ transform="matrix(-0.8,0,0,-0.8,-10,0)"
+ inkscape:connector-curvature="0" />
+ </marker>
+ <marker
+ inkscape:stockid="Arrow1Lstart"
+ orient="auto"
+ refY="0"
+ refX="0"
+ id="Arrow1Lstart"
+ style="overflow:visible"
+ inkscape:isstock="true">
+ <path
+ id="path4852"
+ d="M 0,0 5,-5 -12.5,0 5,5 Z"
+ style="fill:#d12e2e;fill-opacity:1;fill-rule:evenodd;stroke:#d12e2e;stroke-width:1.00000003pt;stroke-opacity:1"
+ transform="matrix(0.8,0,0,0.8,10,0)"
+ inkscape:connector-curvature="0" />
+ </marker>
+ <marker
+ inkscape:stockid="Arrow1Lstart"
+ orient="auto"
+ refY="0"
+ refX="0"
+ id="Arrow1Lstart-6"
+ style="overflow:visible"
+ inkscape:isstock="true">
+ <path
+ inkscape:connector-curvature="0"
+ id="path4852-4"
+ d="M 0,0 5,-5 -12.5,0 5,5 Z"
+ style="fill:#d12e2e;fill-opacity:1;fill-rule:evenodd;stroke:#d12e2e;stroke-width:1.00000003pt;stroke-opacity:1"
+ transform="matrix(0.8,0,0,0.8,10,0)" />
+ </marker>
+ <marker
+ inkscape:stockid="Arrow1Lstart"
+ orient="auto"
+ refY="0"
+ refX="0"
+ id="marker6004"
+ style="overflow:visible"
+ inkscape:isstock="true">
+ <path
+ inkscape:connector-curvature="0"
+ id="path6002"
+ d="M 0,0 5,-5 -12.5,0 5,5 Z"
+ style="fill:#d12e2e;fill-opacity:1;fill-rule:evenodd;stroke:#d12e2e;stroke-width:1.00000003pt;stroke-opacity:1"
+ transform="matrix(0.8,0,0,0.8,10,0)" />
+ </marker>
+ <marker
+ inkscape:stockid="Arrow1Lend"
+ orient="auto"
+ refY="0"
+ refX="0"
+ id="Arrow1Lend-1"
+ style="overflow:visible"
+ inkscape:isstock="true">
+ <path
+ inkscape:connector-curvature="0"
+ id="path4855-2"
+ d="M 0,0 5,-5 -12.5,0 5,5 Z"
+ style="fill:#d12e2e;fill-opacity:1;fill-rule:evenodd;stroke:#d12e2e;stroke-width:1.00000003pt;stroke-opacity:1"
+ transform="matrix(-0.8,0,0,-0.8,-10,0)" />
+ </marker>
+ <marker
+ inkscape:stockid="Arrow2Lstart"
+ orient="auto"
+ refY="0"
+ refX="0"
+ id="Arrow2Lstart-3"
+ style="overflow:visible"
+ inkscape:isstock="true">
+ <path
+ inkscape:connector-curvature="0"
+ id="path4615-6"
+ style="fill:#d91111;fill-opacity:1;fill-rule:evenodd;stroke:#d91111;stroke-width:0.625;stroke-linejoin:round;stroke-opacity:1"
+ d="M 8.7185878,4.0337352 -2.2072895,0.01601326 8.7185884,-4.0017078 c -1.7454984,2.3720609 -1.7354408,5.6174519 -6e-7,8.035443 z"
+ transform="matrix(1.1,0,0,1.1,1.1,0)" />
+ </marker>
+ <marker
+ inkscape:stockid="Arrow2Lstart"
+ orient="auto"
+ refY="0"
+ refX="0"
+ id="Arrow2Lstart-5"
+ style="overflow:visible"
+ inkscape:isstock="true">
+ <path
+ inkscape:connector-curvature="0"
+ id="path4615-3"
+ style="fill:#d91111;fill-opacity:1;fill-rule:evenodd;stroke:#d91111;stroke-width:0.625;stroke-linejoin:round;stroke-opacity:1"
+ d="M 8.7185878,4.0337352 -2.2072895,0.01601326 8.7185884,-4.0017078 c -1.7454984,2.3720609 -1.7354408,5.6174519 -6e-7,8.035443 z"
+ transform="matrix(1.1,0,0,1.1,1.1,0)" />
+ </marker>
+ <marker
+ inkscape:stockid="Arrow2Lstart"
+ orient="auto"
+ refY="0"
+ refX="0"
+ id="Arrow2Lstart-6"
+ style="overflow:visible"
+ inkscape:isstock="true">
+ <path
+ inkscape:connector-curvature="0"
+ id="path4615-2"
+ style="fill:#d91111;fill-opacity:1;fill-rule:evenodd;stroke:#d91111;stroke-width:0.625;stroke-linejoin:round;stroke-opacity:1"
+ d="M 8.7185878,4.0337352 -2.2072895,0.01601326 8.7185884,-4.0017078 c -1.7454984,2.3720609 -1.7354408,5.6174519 -6e-7,8.035443 z"
+ transform="matrix(1.1,0,0,1.1,1.1,0)" />
+ </marker>
+ <marker
+ inkscape:stockid="Arrow2Lstart"
+ orient="auto"
+ refY="0"
+ refX="0"
+ id="Arrow2Lstart-5-9"
+ style="overflow:visible"
+ inkscape:isstock="true">
+ <path
+ inkscape:connector-curvature="0"
+ id="path4615-3-1"
+ style="fill:#d91111;fill-opacity:1;fill-rule:evenodd;stroke:#d91111;stroke-width:0.625;stroke-linejoin:round;stroke-opacity:1"
+ d="M 8.7185878,4.0337352 -2.2072895,0.01601326 8.7185884,-4.0017078 c -1.7454984,2.3720609 -1.7354408,5.6174519 -6e-7,8.035443 z"
+ transform="matrix(1.1,0,0,1.1,1.1,0)" />
+ </marker>
+ </defs>
+ <sodipodi:namedview
+ id="base"
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageopacity="0.0"
+ inkscape:pageshadow="2"
+ inkscape:zoom="0.7"
+ inkscape:cx="442.6578"
+ inkscape:cy="144.64961"
+ inkscape:document-units="px"
+ inkscape:current-layer="layer1"
+ showgrid="false"
+ fit-margin-top="0.5"
+ fit-margin-left="0.5"
+ fit-margin-right="0.5"
+ fit-margin-bottom="0.5"
+ inkscape:window-width="1635"
+ inkscape:window-height="911"
+ inkscape:window-x="75"
+ inkscape:window-y="56"
+ inkscape:window-maximized="0" />
+ <metadata
+ id="metadata7">
+ <rdf:RDF>
+ <cc:Work
+ rdf:about="">
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ <dc:title></dc:title>
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <g
+ inkscape:label="Layer 1"
+ inkscape:groupmode="layer"
+ id="layer1"
+ transform="translate(-31.709818,-228.80485)">
+ <rect
+ style="fill:#dcdcdc;fill-opacity:1;fill-rule:evenodd;stroke:#ffffff;stroke-width:1.93761063;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+ id="rect3909"
+ width="834.84802"
+ height="491.27661"
+ x="33.147373"
+ y="230.2424"
+ ry="24.023308" />
+ <text
+ xml:space="preserve"
+ style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none"
+ x="88.571426"
+ y="318.07648"
+ id="text2985"><tspan
+ sodipodi:role="line"
+ x="88.571426"
+ y="318.07648"
+ id="tspan3027"
+ style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:40px;line-height:125%;font-family:'Courier 10 Pitch';-inkscape-font-specification:'Courier 10 Pitch';text-align:start;writing-mode:lr-tb;text-anchor:start">CROSS_COMPILE?=arm-linux-</tspan><tspan
+ sodipodi:role="line"
+ x="88.571426"
+ y="368.07648"
+ style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:40px;line-height:125%;font-family:'Courier 10 Pitch';-inkscape-font-specification:'Courier 10 Pitch';text-align:start;writing-mode:lr-tb;text-anchor:start"
+ id="tspan4828">CC=$(CROSS_COMPILE)gcc</tspan><tspan
+ sodipodi:role="line"
+ x="88.571426"
+ y="418.07648"
+ style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:40px;line-height:125%;font-family:'Courier 10 Pitch';-inkscape-font-specification:'Courier 10 Pitch';text-align:start;writing-mode:lr-tb;text-anchor:start"
+ id="tspan4830">OBJS=foo.o bar.o</tspan><tspan
+ sodipodi:role="line"
+ x="88.571426"
+ y="436.53073"
+ style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:40px;line-height:125%;font-family:'Courier 10 Pitch';-inkscape-font-specification:'Courier 10 Pitch';text-align:start;writing-mode:lr-tb;text-anchor:start"
+ id="tspan4832" /><tspan
+ sodipodi:role="line"
+ x="88.571426"
+ y="468.07648"
+ style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:40px;line-height:125%;font-family:'Courier 10 Pitch';-inkscape-font-specification:'Courier 10 Pitch';text-align:start;writing-mode:lr-tb;text-anchor:start"
+ id="tspan4834">all: foobar</tspan><tspan
+ sodipodi:role="line"
+ x="88.571426"
+ y="486.53073"
+ style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:40px;line-height:125%;font-family:'Courier 10 Pitch';-inkscape-font-specification:'Courier 10 Pitch';text-align:start;writing-mode:lr-tb;text-anchor:start"
+ id="tspan4836" /><tspan
+ sodipodi:role="line"
+ x="88.571426"
+ y="518.07648"
+ style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:40px;line-height:125%;font-family:'Courier 10 Pitch';-inkscape-font-specification:'Courier 10 Pitch';text-align:start;writing-mode:lr-tb;text-anchor:start"
+ id="tspan4838">foobar: $(OBJS)</tspan><tspan
+ sodipodi:role="line"
+ x="88.571426"
+ y="568.07648"
+ style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:40px;line-height:125%;font-family:'Courier 10 Pitch';-inkscape-font-specification:'Courier 10 Pitch';text-align:start;writing-mode:lr-tb;text-anchor:start"
+ id="tspan4840"> $(CC) -o $@ $^</tspan><tspan
+ sodipodi:role="line"
+ x="88.571426"
+ y="586.53076"
+ style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:40px;line-height:125%;font-family:'Courier 10 Pitch';-inkscape-font-specification:'Courier 10 Pitch';text-align:start;writing-mode:lr-tb;text-anchor:start"
+ id="tspan4842" /><tspan
+ sodipodi:role="line"
+ x="88.571426"
+ y="618.07648"
+ style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:40px;line-height:125%;font-family:'Courier 10 Pitch';-inkscape-font-specification:'Courier 10 Pitch';text-align:start;writing-mode:lr-tb;text-anchor:start"
+ id="tspan4844">clean:</tspan><tspan
+ sodipodi:role="line"
+ x="88.571426"
+ y="668.07648"
+ style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:40px;line-height:125%;font-family:'Courier 10 Pitch';-inkscape-font-specification:'Courier 10 Pitch';text-align:start;writing-mode:lr-tb;text-anchor:start"
+ id="tspan4846"> $(RM) -f foobar $(OBJS)</tspan><tspan
+ sodipodi:role="line"
+ x="88.571426"
+ y="686.53076"
+ style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:40px;line-height:125%;font-family:'Courier 10 Pitch';-inkscape-font-specification:'Courier 10 Pitch';text-align:start;writing-mode:lr-tb;text-anchor:start"
+ id="tspan4848" /></text>
+ <g
+ id="g7234"
+ transform="translate(0,-1.8750001)">
+ <text
+ id="text5954"
+ y="569.72003"
+ x="145.86546"
+ style="font-style:normal;font-weight:normal;font-size:37.50000381px;line-height:125%;font-family:Sans;-inkscape-font-specification:Sans;letter-spacing:0px;word-spacing:0px;fill:#d51010;fill-opacity:1;stroke:none;stroke-width:0.93750006px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ xml:space="preserve"><tspan
+ style="fill:#d51010;fill-opacity:1;stroke-width:0.93750006px"
+ y="569.72003"
+ x="145.86546"
+ id="tspan5952"
+ sodipodi:role="line">Tab</tspan></text>
+ <path
+ sodipodi:nodetypes="cc"
+ inkscape:connector-curvature="0"
+ id="path4595"
+ d="m 99.31825,556.6759 41.16525,-1.40814"
+ style="fill:none;fill-rule:evenodd;stroke:#d91111;stroke-width:2.6906054;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker-start:url(#Arrow2Lstart)" />
+ <path
+ sodipodi:nodetypes="cc"
+ inkscape:connector-curvature="0"
+ id="path4595-5"
+ d="M 253.75139,556.77064 212.58614,555.3625"
+ style="fill:none;fill-rule:evenodd;stroke:#d91111;stroke-width:2.6906054;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker-start:url(#Arrow2Lstart-5)" />
+ </g>
+ <g
+ transform="translate(-1.4114408,97.015803)"
+ id="g7234-2">
+ <text
+ id="text5954-7"
+ y="569.72003"
+ x="145.86546"
+ style="font-style:normal;font-weight:normal;font-size:37.50000381px;line-height:125%;font-family:Sans;-inkscape-font-specification:Sans;letter-spacing:0px;word-spacing:0px;fill:#d51010;fill-opacity:1;stroke:none;stroke-width:0.93750006px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ xml:space="preserve"><tspan
+ style="fill:#d51010;fill-opacity:1;stroke-width:0.93750006px"
+ y="569.72003"
+ x="145.86546"
+ id="tspan5952-0"
+ sodipodi:role="line">Tab</tspan></text>
+ <path
+ sodipodi:nodetypes="cc"
+ inkscape:connector-curvature="0"
+ id="path4595-9"
+ d="m 99.31825,556.6759 41.16525,-1.40814"
+ style="fill:none;fill-rule:evenodd;stroke:#d91111;stroke-width:2.6906054;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker-start:url(#Arrow2Lstart-6)" />
+ <path
+ sodipodi:nodetypes="cc"
+ inkscape:connector-curvature="0"
+ id="path4595-5-3"
+ d="M 253.75139,556.77064 212.58614,555.3625"
+ style="fill:none;fill-rule:evenodd;stroke:#d91111;stroke-width:2.6906054;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker-start:url(#Arrow2Lstart-5-9)" />
+ </g>
+ </g>
+</svg>
diff --git a/slides/sysdev-application-development/simple-makefile2.svg b/slides/sysdev-application-development/simple-makefile2.svg
new file mode 100644
index 0000000..5d1be62
--- /dev/null
+++ b/slides/sysdev-application-development/simple-makefile2.svg
@@ -0,0 +1,365 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ width="1202.1427"
+ height="724.23798"
+ id="svg2"
+ version="1.1"
+ inkscape:version="0.92.1 r15371"
+ sodipodi:docname="simple-makefile2.svg"
+ viewBox="0 0 1127.0088 678.97313">
+ <defs
+ id="defs4">
+ <marker
+ inkscape:stockid="Arrow2Lstart"
+ orient="auto"
+ refY="0"
+ refX="0"
+ id="Arrow2Lstart"
+ style="overflow:visible"
+ inkscape:isstock="true">
+ <path
+ id="path4615"
+ style="fill:#d91111;fill-opacity:1;fill-rule:evenodd;stroke:#d91111;stroke-width:0.625;stroke-linejoin:round;stroke-opacity:1"
+ d="M 8.7185878,4.0337352 -2.2072895,0.01601326 8.7185884,-4.0017078 c -1.7454984,2.3720609 -1.7354408,5.6174519 -6e-7,8.035443 z"
+ transform="matrix(1.1,0,0,1.1,1.1,0)"
+ inkscape:connector-curvature="0" />
+ </marker>
+ <marker
+ inkscape:stockid="Arrow1Lend"
+ orient="auto"
+ refY="0"
+ refX="0"
+ id="Arrow1Lend"
+ style="overflow:visible"
+ inkscape:isstock="true">
+ <path
+ id="path4855"
+ d="M 0,0 5,-5 -12.5,0 5,5 Z"
+ style="fill:#d12e2e;fill-opacity:1;fill-rule:evenodd;stroke:#d12e2e;stroke-width:1.00000003pt;stroke-opacity:1"
+ transform="matrix(-0.8,0,0,-0.8,-10,0)"
+ inkscape:connector-curvature="0" />
+ </marker>
+ <marker
+ inkscape:stockid="Arrow1Lstart"
+ orient="auto"
+ refY="0"
+ refX="0"
+ id="Arrow1Lstart"
+ style="overflow:visible"
+ inkscape:isstock="true">
+ <path
+ id="path4852"
+ d="M 0,0 5,-5 -12.5,0 5,5 Z"
+ style="fill:#d12e2e;fill-opacity:1;fill-rule:evenodd;stroke:#d12e2e;stroke-width:1.00000003pt;stroke-opacity:1"
+ transform="matrix(0.8,0,0,0.8,10,0)"
+ inkscape:connector-curvature="0" />
+ </marker>
+ <marker
+ inkscape:stockid="Arrow1Lstart"
+ orient="auto"
+ refY="0"
+ refX="0"
+ id="Arrow1Lstart-6"
+ style="overflow:visible"
+ inkscape:isstock="true">
+ <path
+ inkscape:connector-curvature="0"
+ id="path4852-4"
+ d="M 0,0 5,-5 -12.5,0 5,5 Z"
+ style="fill:#d12e2e;fill-opacity:1;fill-rule:evenodd;stroke:#d12e2e;stroke-width:1.00000003pt;stroke-opacity:1"
+ transform="matrix(0.8,0,0,0.8,10,0)" />
+ </marker>
+ <marker
+ inkscape:stockid="Arrow1Lstart"
+ orient="auto"
+ refY="0"
+ refX="0"
+ id="marker6004"
+ style="overflow:visible"
+ inkscape:isstock="true">
+ <path
+ inkscape:connector-curvature="0"
+ id="path6002"
+ d="M 0,0 5,-5 -12.5,0 5,5 Z"
+ style="fill:#d12e2e;fill-opacity:1;fill-rule:evenodd;stroke:#d12e2e;stroke-width:1.00000003pt;stroke-opacity:1"
+ transform="matrix(0.8,0,0,0.8,10,0)" />
+ </marker>
+ <marker
+ inkscape:stockid="Arrow1Lend"
+ orient="auto"
+ refY="0"
+ refX="0"
+ id="Arrow1Lend-1"
+ style="overflow:visible"
+ inkscape:isstock="true">
+ <path
+ inkscape:connector-curvature="0"
+ id="path4855-2"
+ d="M 0,0 5,-5 -12.5,0 5,5 Z"
+ style="fill:#d12e2e;fill-opacity:1;fill-rule:evenodd;stroke:#d12e2e;stroke-width:1.00000003pt;stroke-opacity:1"
+ transform="matrix(-0.8,0,0,-0.8,-10,0)" />
+ </marker>
+ <marker
+ inkscape:stockid="Arrow2Lstart"
+ orient="auto"
+ refY="0"
+ refX="0"
+ id="Arrow2Lstart-3"
+ style="overflow:visible"
+ inkscape:isstock="true">
+ <path
+ inkscape:connector-curvature="0"
+ id="path4615-6"
+ style="fill:#d91111;fill-opacity:1;fill-rule:evenodd;stroke:#d91111;stroke-width:0.625;stroke-linejoin:round;stroke-opacity:1"
+ d="M 8.7185878,4.0337352 -2.2072895,0.01601326 8.7185884,-4.0017078 c -1.7454984,2.3720609 -1.7354408,5.6174519 -6e-7,8.035443 z"
+ transform="matrix(1.1,0,0,1.1,1.1,0)" />
+ </marker>
+ <marker
+ inkscape:stockid="Arrow2Lstart"
+ orient="auto"
+ refY="0"
+ refX="0"
+ id="Arrow2Lstart-5"
+ style="overflow:visible"
+ inkscape:isstock="true">
+ <path
+ inkscape:connector-curvature="0"
+ id="path4615-3"
+ style="fill:#d91111;fill-opacity:1;fill-rule:evenodd;stroke:#d91111;stroke-width:0.625;stroke-linejoin:round;stroke-opacity:1"
+ d="M 8.7185878,4.0337352 -2.2072895,0.01601326 8.7185884,-4.0017078 c -1.7454984,2.3720609 -1.7354408,5.6174519 -6e-7,8.035443 z"
+ transform="matrix(1.1,0,0,1.1,1.1,0)" />
+ </marker>
+ <marker
+ inkscape:stockid="Arrow2Lstart"
+ orient="auto"
+ refY="0"
+ refX="0"
+ id="Arrow2Lstart-6"
+ style="overflow:visible"
+ inkscape:isstock="true">
+ <path
+ inkscape:connector-curvature="0"
+ id="path4615-2"
+ style="fill:#d91111;fill-opacity:1;fill-rule:evenodd;stroke:#d91111;stroke-width:0.625;stroke-linejoin:round;stroke-opacity:1"
+ d="M 8.7185878,4.0337352 -2.2072895,0.01601326 8.7185884,-4.0017078 c -1.7454984,2.3720609 -1.7354408,5.6174519 -6e-7,8.035443 z"
+ transform="matrix(1.1,0,0,1.1,1.1,0)" />
+ </marker>
+ <marker
+ inkscape:stockid="Arrow2Lstart"
+ orient="auto"
+ refY="0"
+ refX="0"
+ id="Arrow2Lstart-5-9"
+ style="overflow:visible"
+ inkscape:isstock="true">
+ <path
+ inkscape:connector-curvature="0"
+ id="path4615-3-1"
+ style="fill:#d91111;fill-opacity:1;fill-rule:evenodd;stroke:#d91111;stroke-width:0.625;stroke-linejoin:round;stroke-opacity:1"
+ d="M 8.7185878,4.0337352 -2.2072895,0.01601326 8.7185884,-4.0017078 c -1.7454984,2.3720609 -1.7354408,5.6174519 -6e-7,8.035443 z"
+ transform="matrix(1.1,0,0,1.1,1.1,0)" />
+ </marker>
+ </defs>
+ <sodipodi:namedview
+ id="base"
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageopacity="0.0"
+ inkscape:pageshadow="2"
+ inkscape:zoom="0.7"
+ inkscape:cx="652.37844"
+ inkscape:cy="341.79246"
+ inkscape:document-units="px"
+ inkscape:current-layer="layer1"
+ showgrid="false"
+ fit-margin-top="0.5"
+ fit-margin-left="0.5"
+ fit-margin-right="0.5"
+ fit-margin-bottom="0.5"
+ inkscape:window-width="1635"
+ inkscape:window-height="911"
+ inkscape:window-x="75"
+ inkscape:window-y="56"
+ inkscape:window-maximized="0" />
+ <metadata
+ id="metadata7">
+ <rdf:RDF>
+ <cc:Work
+ rdf:about="">
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ <dc:title></dc:title>
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <g
+ inkscape:label="Layer 1"
+ inkscape:groupmode="layer"
+ id="layer1"
+ transform="translate(-34.388388,-228.80485)">
+ <rect
+ style="fill:#dcdcdc;fill-opacity:1;fill-rule:evenodd;stroke:#ffffff;stroke-width:2.63544846;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+ id="rect3909"
+ width="1123.4359"
+ height="675.40021"
+ x="36.174862"
+ y="230.59132"
+ ry="33.026909" />
+ <text
+ xml:space="preserve"
+ style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none"
+ x="88.571426"
+ y="318.07648"
+ id="text2985"><tspan
+ sodipodi:role="line"
+ x="88.571426"
+ y="318.07648"
+ style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:40px;line-height:125%;font-family:'Courier 10 Pitch';-inkscape-font-specification:'Courier 10 Pitch';text-align:start;writing-mode:lr-tb;text-anchor:start"
+ id="tspan4846">CROSS_COMPILE?=arm-linux-</tspan><tspan
+ sodipodi:role="line"
+ x="88.571426"
+ y="368.07648"
+ style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:40px;line-height:125%;font-family:'Courier 10 Pitch';-inkscape-font-specification:'Courier 10 Pitch';text-align:start;writing-mode:lr-tb;text-anchor:start"
+ id="tspan4651">LIBS=libgps glib-2.0</tspan><tspan
+ sodipodi:role="line"
+ x="88.571426"
+ y="418.07648"
+ style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:40px;line-height:125%;font-family:'Courier 10 Pitch';-inkscape-font-specification:'Courier 10 Pitch';text-align:start;writing-mode:lr-tb;text-anchor:start"
+ id="tspan4653">OBJS=foo.o bar.o</tspan><tspan
+ sodipodi:role="line"
+ x="88.571426"
+ y="436.53073"
+ style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:40px;line-height:125%;font-family:'Courier 10 Pitch';-inkscape-font-specification:'Courier 10 Pitch';text-align:start;writing-mode:lr-tb;text-anchor:start"
+ id="tspan4655"></tspan><tspan
+ sodipodi:role="line"
+ x="88.571426"
+ y="468.07648"
+ style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:40px;line-height:125%;font-family:'Courier 10 Pitch';-inkscape-font-specification:'Courier 10 Pitch';text-align:start;writing-mode:lr-tb;text-anchor:start"
+ id="tspan4657">CC=$(CROSS_COMPILE)gcc</tspan><tspan
+ sodipodi:role="line"
+ x="88.571426"
+ y="518.07648"
+ style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:40px;line-height:125%;font-family:'Courier 10 Pitch';-inkscape-font-specification:'Courier 10 Pitch';text-align:start;writing-mode:lr-tb;text-anchor:start"
+ id="tspan4659">CFLAGS=$(shell pkg-config --cflags $(LIBS))</tspan><tspan
+ sodipodi:role="line"
+ x="88.571426"
+ y="568.07648"
+ style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:40px;line-height:125%;font-family:'Courier 10 Pitch';-inkscape-font-specification:'Courier 10 Pitch';text-align:start;writing-mode:lr-tb;text-anchor:start"
+ id="tspan4661">LDFLAGS=$(shell pkg-config --libs $(LIBS))</tspan><tspan
+ sodipodi:role="line"
+ x="88.571426"
+ y="586.53076"
+ style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:40px;line-height:125%;font-family:'Courier 10 Pitch';-inkscape-font-specification:'Courier 10 Pitch';text-align:start;writing-mode:lr-tb;text-anchor:start"
+ id="tspan4663"></tspan><tspan
+ sodipodi:role="line"
+ x="88.571426"
+ y="618.07648"
+ style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:40px;line-height:125%;font-family:'Courier 10 Pitch';-inkscape-font-specification:'Courier 10 Pitch';text-align:start;writing-mode:lr-tb;text-anchor:start"
+ id="tspan4665">all: foobar</tspan><tspan
+ sodipodi:role="line"
+ x="88.571426"
+ y="636.53076"
+ style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:40px;line-height:125%;font-family:'Courier 10 Pitch';-inkscape-font-specification:'Courier 10 Pitch';text-align:start;writing-mode:lr-tb;text-anchor:start"
+ id="tspan4667"></tspan><tspan
+ sodipodi:role="line"
+ x="88.571426"
+ y="668.07648"
+ style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:40px;line-height:125%;font-family:'Courier 10 Pitch';-inkscape-font-specification:'Courier 10 Pitch';text-align:start;writing-mode:lr-tb;text-anchor:start"
+ id="tspan4669">foobar: $(OBJS)</tspan><tspan
+ sodipodi:role="line"
+ x="88.571426"
+ y="718.07648"
+ style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:40px;line-height:125%;font-family:'Courier 10 Pitch';-inkscape-font-specification:'Courier 10 Pitch';text-align:start;writing-mode:lr-tb;text-anchor:start"
+ id="tspan4671"> $(CC) -o $@ $^ $(LDFLAGS)</tspan><tspan
+ sodipodi:role="line"
+ x="88.571426"
+ y="736.53076"
+ style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:40px;line-height:125%;font-family:'Courier 10 Pitch';-inkscape-font-specification:'Courier 10 Pitch';text-align:start;writing-mode:lr-tb;text-anchor:start"
+ id="tspan4673"></tspan><tspan
+ sodipodi:role="line"
+ x="88.571426"
+ y="768.07648"
+ style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:40px;line-height:125%;font-family:'Courier 10 Pitch';-inkscape-font-specification:'Courier 10 Pitch';text-align:start;writing-mode:lr-tb;text-anchor:start"
+ id="tspan4675">clean:</tspan><tspan
+ sodipodi:role="line"
+ x="88.571426"
+ y="818.07648"
+ style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:40px;line-height:125%;font-family:'Courier 10 Pitch';-inkscape-font-specification:'Courier 10 Pitch';text-align:start;writing-mode:lr-tb;text-anchor:start"
+ id="tspan4677"> $(RM) -f foobar $(OBJS)</tspan><tspan
+ sodipodi:role="line"
+ x="88.571426"
+ y="836.53076"
+ style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:40px;line-height:125%;font-family:'Courier 10 Pitch';-inkscape-font-specification:'Courier 10 Pitch';text-align:start;writing-mode:lr-tb;text-anchor:start"
+ id="tspan4679" /><tspan
+ sodipodi:role="line"
+ x="88.571426"
+ y="836.53076"
+ style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:40px;line-height:125%;font-family:'Courier 10 Pitch';-inkscape-font-specification:'Courier 10 Pitch';text-align:start;writing-mode:lr-tb;text-anchor:start"
+ id="tspan4848" /></text>
+ <g
+ id="g7234"
+ transform="translate(0,150)">
+ <text
+ id="text5954"
+ y="569.72003"
+ x="145.86546"
+ style="font-style:normal;font-weight:normal;font-size:37.50000381px;line-height:125%;font-family:Sans;-inkscape-font-specification:Sans;letter-spacing:0px;word-spacing:0px;fill:#d51010;fill-opacity:1;stroke:none;stroke-width:0.93750006px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ xml:space="preserve"><tspan
+ style="fill:#d51010;fill-opacity:1;stroke-width:0.93750006px"
+ y="569.72003"
+ x="145.86546"
+ id="tspan5952"
+ sodipodi:role="line">Tab</tspan></text>
+ <path
+ sodipodi:nodetypes="cc"
+ inkscape:connector-curvature="0"
+ id="path4595"
+ d="m 99.31825,556.6759 41.16525,-1.40814"
+ style="fill:none;fill-rule:evenodd;stroke:#d91111;stroke-width:2.6906054;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker-start:url(#Arrow2Lstart)" />
+ <path
+ sodipodi:nodetypes="cc"
+ inkscape:connector-curvature="0"
+ id="path4595-5"
+ d="M 253.75139,556.77064 212.58614,555.3625"
+ style="fill:none;fill-rule:evenodd;stroke:#d91111;stroke-width:2.6906054;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker-start:url(#Arrow2Lstart-5)" />
+ </g>
+ <g
+ transform="translate(-1.4114408,247.0158)"
+ id="g7234-2">
+ <text
+ id="text5954-7"
+ y="569.72003"
+ x="145.86546"
+ style="font-style:normal;font-weight:normal;font-size:37.50000381px;line-height:125%;font-family:Sans;-inkscape-font-specification:Sans;letter-spacing:0px;word-spacing:0px;fill:#d51010;fill-opacity:1;stroke:none;stroke-width:0.93750006px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ xml:space="preserve"><tspan
+ style="fill:#d51010;fill-opacity:1;stroke-width:0.93750006px"
+ y="569.72003"
+ x="145.86546"
+ id="tspan5952-0"
+ sodipodi:role="line">Tab</tspan></text>
+ <path
+ sodipodi:nodetypes="cc"
+ inkscape:connector-curvature="0"
+ id="path4595-9"
+ d="m 99.31825,556.6759 41.16525,-1.40814"
+ style="fill:none;fill-rule:evenodd;stroke:#d91111;stroke-width:2.6906054;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker-start:url(#Arrow2Lstart-6)" />
+ <path
+ sodipodi:nodetypes="cc"
+ inkscape:connector-curvature="0"
+ id="path4595-5-3"
+ d="M 253.75139,556.77064 212.58614,555.3625"
+ style="fill:none;fill-rule:evenodd;stroke:#d91111;stroke-width:2.6906054;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker-start:url(#Arrow2Lstart-5-9)" />
+ </g>
+ </g>
+</svg>
diff --git a/slides/sysdev-application-development/sysdev-application-development.tex b/slides/sysdev-application-development/sysdev-application-development.tex
index 957b496..41428f2 100644
--- a/slides/sysdev-application-development/sysdev-application-development.tex
+++ b/slides/sysdev-application-development/sysdev-application-development.tex
@@ -118,21 +118,8 @@
\item Case of an application that only uses the C library, contains two source
files and generates a single binary
\end{itemize}
-\begin{block}{}
-\begin{verbatim}
-CROSS_COMPILE?=arm-linux-
-CC=$(CROSS_COMPILE)gcc
-OBJS=foo.o bar.o
-
-all: foobar
-
-foobar: $(OBJS)
- $(CC) -o $@ $^
-
-clean:
- $(RM) -f foobar $(OBJS)
-\end{verbatim}
-\end{block}
+ \vfill
+ \includegraphics[width=0.7\textwidth]{slides/sysdev-application-development/simple-makefile1.pdf}\\
\end{frame}
\begin{frame}[fragile]
@@ -140,26 +127,8 @@ clean:
\begin{itemize}
\item Case of an application that uses the Glib and the GPS libraries
\end{itemize}
-\small
-\begin{block}{}
-\begin{verbatim}
-CROSS_COMPILE?=arm-linux-
-LIBS=libgps glib-2.0
-OBJS=foo.o bar.o
-
-CC=$(CROSS_COMPILE)gcc
-CFLAGS=$(shell pkg-config --cflags $(LIBS))
-LDFLAGS=$(shell pkg-config --libs $(LIBS))
-
-all: foobar
-
-foobar: $(OBJS)
- $(CC) -o $@ $^ $(LDFLAGS)
-
-clean:
- $(RM) -f foobar $(OBJS)
-\end{verbatim}
-\end{block}
+ \vfill
+ \includegraphics[width=0.8\textwidth]{slides/sysdev-application-development/simple-makefile2.pdf}\\
\end{frame}
\subsection[Source management \& IDEs]{Integrated
More information about the training-materials-updates
mailing list