inux and Mac:</p>
<pre><code>&gt; make examples/bernoulli/bernoulli</code></pre>
<p>For Windows:</p>
<pre><code>&gt; make examples/bernoulli/bernoulli.exe</code></pre>
<p>The makefile rules first invoke the stanc compiler to translate the
Stan model to C++ , then compiles and links the C++ code to a binary
executable. The makefile variable <code>STANCFLAGS</code> can be used to to
override the default arguments to stanc, e.g.,</p>
<pre><code>&gt; make STANCFLAGS=&quot;--include-paths=~/foo&quot; examples/be