Skip to content

Commit

Permalink
Build code
Browse files Browse the repository at this point in the history
  • Loading branch information
theicfire committed May 5, 2022
1 parent 6e5a4fa commit fde2244
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ function build(callback) {
smith
.use(
serve({
port: 8000,
port: 8001,
verbose: true,
}),
)
Expand Down
5 changes: 4 additions & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@
<div id="right">
<div class="content">
<p><b>I built this guide because I could never quite wrap my head around Makefiles.</b> They seemed awash with hidden rules and esoteric symbols, and asking simple questions didn’t yield simple answers. To solve this, I sat down for several weekends and read everything I could about Makefiles. I&#39;ve condensed the most critical knowledge into this guide. Each topic has a brief description and a self contained example that you can run yourself.</p>
<p>If you mostly understand Make, consider checking out the Makefile Cookbook, which has a template for medium sized projects with ample comments about what each part of the Makefile is doing.</p>
<p>If you mostly understand Make, consider checking out the <a href="#makefile-cookbook">Makefile Cookbook</a>, which has a template for medium sized projects with ample comments about what each part of the Makefile is doing.</p>
<p>Good luck, and I hope you are able to slay the confusing world of Makefiles!</p>
<h1 id="getting-started">Getting Started</h1>
<h2 id="why-do-makefiles-exist">Why do Makefiles exist?</h2>
Expand All @@ -455,6 +455,9 @@ <h2 id="running-the-examples">Running the Examples</h2>
<p>To run these examples, you&#39;ll need a terminal and &quot;make&quot; installed. For each example, put the contents in a file called <code>Makefile</code>, and in that directory run the command <code>make</code>. Let&#39;s start with the simplest of Makefiles:</p>
<pre><code class="hljs makefile"><span class="hljs-section">hello:</span>
echo <span class="hljs-string">"hello world"</span></code></pre>
<blockquote>
<p>Note: Makefiles <strong>must</strong> be indented using TABs and not spaces or <code>make</code> will fail.</p>
</blockquote>
<p>Here is the output of running the above example:</p>
<pre><code class="hljs shell"><span class="hljs-meta">$</span><span class="bash"> make</span>
echo "hello world"
Expand Down

0 comments on commit fde2244

Please sign in to comment.