<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Approximatrix Forums — makefile & dependencies]]></title>
		<link>https://forums.approximatrix.com/viewtopic.php?id=403</link>
		<atom:link href="https://forums.approximatrix.com/extern.php?action=feed&amp;tid=403&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in makefile & dependencies.]]></description>
		<lastBuildDate>Tue, 16 Dec 2014 21:44:25 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: makefile & dependencies]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=1695#p1695</link>
			<description><![CDATA[<p>Normally any files that are included via <strong>INCLUDE</strong> statements are marked as dependencies for each file that includes them as long as that included file is part of your project.&nbsp; So, for example, if you have:</p><div class="codebox"><pre><code>INCLUDE &#039;COMVARS.INC&#039;</code></pre></div><p>in a file called <em>compute.f</em> and <em>comvars.inc</em> is also in your project, <em>compute.f</em> should recompile anytime <em>comvars.inc</em> is changed.&nbsp; However, if <em>comvars.inc</em> is not listed in your project, the above won&#039;t happen.</p><p>It can still be made a dependency by changing a single option, though.&nbsp; In &quot;<a href="http://simplyfortran.com/docs/full/options/make.html">Make Options</a>,&quot; accessible from the Options menu, you can uncheck &quot;Project-Only Fortran Include Dependencies&quot; to force the same behavior regardless of whether <em>comvars.inc</em> is in your project.</p><p>If your code uses</p><div class="codebox"><pre><code>#include &quot;comvars.inc&quot;</code></pre></div><p>via the C preprocessor, Simply Fortran does not track this dependency.&nbsp; You can instead, however, change the C preprocessor #include to a Fortran <strong>INCLUDE</strong> statement as they both work the same.</p>]]></description>
			<author><![CDATA[null@example.com (jeff)]]></author>
			<pubDate>Tue, 16 Dec 2014 21:44:25 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=1695#p1695</guid>
		</item>
		<item>
			<title><![CDATA[makefile & dependencies]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=1692#p1692</link>
			<description><![CDATA[<p>My program has a large common area in a separate file which is &quot;included&quot; in most of the routines in my program.&nbsp; How do I alert SF&#039;s makefile generator that I have changed the common area so that it recompiles all the modules that include the common area?</p>]]></description>
			<author><![CDATA[null@example.com (dstraley)]]></author>
			<pubDate>Tue, 16 Dec 2014 19:18:23 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=1692#p1692</guid>
		</item>
	</channel>
</rss>
