<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Simple makefile question in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Simple-makefile-question/m-p/740417#M331</link>
    <description>Iapologizeif this is a repost, but I can not find where to search the discussions. I need help setting up a simple makefile. I want to run the following code:
&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;ifort -c subroutines.f90&lt;/DIV&gt;
&lt;DIV&gt;ifort -c main.f90&lt;/DIV&gt;
&lt;DIV&gt;ifort -o MyProgram subroutines.o main.0&lt;/DIV&gt;
&lt;DIV&gt;./ MyProgram&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;Then clean up/remove all the files except .f90 and MyProgram. I understand a makefile is used for this, but I am not sure what the minimum requirements are for a makefile, what name I save it as, and how I run it. Thanks in advance for your help!&lt;/DIV&gt;</description>
    <pubDate>Tue, 27 Oct 2009 19:44:50 GMT</pubDate>
    <dc:creator>gittenlucky</dc:creator>
    <dc:date>2009-10-27T19:44:50Z</dc:date>
    <item>
      <title>Simple makefile question</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Simple-makefile-question/m-p/740417#M331</link>
      <description>Iapologizeif this is a repost, but I can not find where to search the discussions. I need help setting up a simple makefile. I want to run the following code:
&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;ifort -c subroutines.f90&lt;/DIV&gt;
&lt;DIV&gt;ifort -c main.f90&lt;/DIV&gt;
&lt;DIV&gt;ifort -o MyProgram subroutines.o main.0&lt;/DIV&gt;
&lt;DIV&gt;./ MyProgram&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;Then clean up/remove all the files except .f90 and MyProgram. I understand a makefile is used for this, but I am not sure what the minimum requirements are for a makefile, what name I save it as, and how I run it. Thanks in advance for your help!&lt;/DIV&gt;</description>
      <pubDate>Tue, 27 Oct 2009 19:44:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Simple-makefile-question/m-p/740417#M331</guid>
      <dc:creator>gittenlucky</dc:creator>
      <dc:date>2009-10-27T19:44:50Z</dc:date>
    </item>
    <item>
      <title>Re: Simple makefile question</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Simple-makefile-question/m-p/740418#M332</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
the "fine manual" &lt;A href="http://www.gnu.org/software/make/manual/make.html"&gt;http://www.gnu.org/software/make/manual/make.html&lt;/A&gt; starts at the beginning, and progresses to much of what you would need to understand most existing makefiles, as well as write your own.&lt;BR /&gt;When you don't specify a file, make looks first for Makefile. Any name you like will work.&lt;BR /&gt;You can compare Windows and linux ifort/icc Makefiles, and gnu vs Intel Makefiles, at&lt;BR /&gt;&lt;A href="http://sites.google.com/site/tprincesite/levine-callahan-dongarra-vectors"&gt;http://sites.google.com/site/tprincesite/levine-callahan-dongarra-vectors&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 27 Oct 2009 20:31:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Simple-makefile-question/m-p/740418#M332</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2009-10-27T20:31:30Z</dc:date>
    </item>
    <item>
      <title>Re: Simple makefile question</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Simple-makefile-question/m-p/740419#M333</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;BR /&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;Thank you very much. That is exactly what I was looking for. There was a very simple and basic program that I was able to copy.&lt;/DIV&gt;</description>
      <pubDate>Tue, 27 Oct 2009 21:06:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Simple-makefile-question/m-p/740419#M333</guid>
      <dc:creator>gittenlucky</dc:creator>
      <dc:date>2009-10-27T21:06:39Z</dc:date>
    </item>
  </channel>
</rss>

