<html><head></head><body>Yep, the first thing I did was bring over an old, simple, makefile for an old C project.<br>
<br>
The second thing I did was a youtube search for introduction to makefiles. Watched three of them and was disappointed. They didn&#39;t cover the simplest stuff.<br>
<br>
It is generally impossible to count on the built-in rules of a make program because it doesn&#39;t have include directories or libraries, and most production code will include both of those for any specific project.<br><br><div class="gmail_quote">On 14 December 2015 12:53:03 GMT-05:00, &quot;Scott M. Jones&quot; &lt;eff@dragoncon.org&gt; wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail">I was surprised to find he is using the built-in rules of make rather<br />than running cc directly on the command line.  In production code I made<br />a personal rule to never depend on built in rules of make and to put all<br />rules explicitly in the makefile, but for educational purposes it's<br />probably OK.  Still, if he's teaching the command line way I'm surprised<br />he isn't using cc directly from the command line.  I've also seen<br />systems with cc/gcc installed but no make installed.<br /><br />-Scott<br /><br />On 12/14/15 10:54 AM, DJ-Pfulio wrote:<br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"> <br /> If anyone has already started their journey to learning C with Leam, great!<br /> <br /> I worked through the first 8 exercises this morning using the online book -<br /> <a href="http://c.learncodethehardway.org/book">http://c.learncodethehardway.org/book</a>/<br /> <br
/> There are many subtle things not covered, but worth knowing.<br /> <br /> He writes about makefiles, valgrind and printf() in a "do this, but don't worry<br /> if you don't understand it" way. Perhaps the author will come back later for<br /> deeper explanation? I dunno.<br /></blockquote><br /><hr /><br />Ale mailing list<br />Ale@ale.org<br /><a href="http://mail.ale.org/mailman/listinfo/ale">http://mail.ale.org/mailman/listinfo/ale</a><br />See JOBS, ANNOUNCE and SCHOOLS lists at<br /><a href="http://mail.ale.org/mailman/listinfo">http://mail.ale.org/mailman/listinfo</a><br /></pre></blockquote></div><br>
-- <br>
Sent from my Android device with K-9 Mail. Please excuse my brevity.</body></html>