<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Makefile on KMiguel&#39;s blog</title>
    <link>https://kmiguel.com/tags/makefile/</link>
    <description>Recent content in Makefile on KMiguel&#39;s blog</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Sat, 26 Sep 2026 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://kmiguel.com/tags/makefile/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>How to Set Up a C99 Development Environment</title>
      <link>https://kmiguel.com/posts/how-to-set-up-a-c99-development-environment/</link>
      <pubDate>Sat, 26 Sep 2026 00:00:00 +0000</pubDate>
      <guid>https://kmiguel.com/posts/how-to-set-up-a-c99-development-environment/</guid>
      <description>&lt;h2 id=&#34;introduction&#34;&gt;Introduction&lt;/h2&gt;&#xA;&lt;p&gt;So you&amp;rsquo;re starting a C course. Congratulations, you&amp;rsquo;re about to spend a lot of quality time with segmentation faults and loose all of your hair. Before any of that, though, there&amp;rsquo;s one boring-but-critical thing nobody warns you about: &lt;strong&gt;your setup has to match the grader&amp;rsquo;s setup.&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;Here&amp;rsquo;s the trap. Your code doesn&amp;rsquo;t get a grade because it works &lt;em&gt;on your machine&lt;/em&gt;. It gets a grade because it compiles and runs on &lt;strong&gt;the grader&amp;rsquo;s machine&lt;/strong&gt;, with &lt;strong&gt;the grader&amp;rsquo;s compiler&lt;/strong&gt; and &lt;strong&gt;the grader&amp;rsquo;s flags&lt;/strong&gt;. Those are almost never the same as your defaults, and the gap has gotten &lt;em&gt;wider&lt;/em&gt; recently: modern compilers no longer default to C99. Fresh GCC (version 15 and up) defaults to &lt;strong&gt;C23&lt;/strong&gt;, and Apple&amp;rsquo;s &lt;code&gt;clang&lt;/code&gt; on macOS defaults to &lt;strong&gt;C17&lt;/strong&gt;. Neither of those is C99.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
