title: Include both .f and .F90 file in Fortran main file header
body: <p>I am using some F77 fixed format code with my F90 program. I am trying to include both kinds of code in my main program. Here's how I have arranged my code:</p>
  
  <p>Header files:</p>
  
  <pre><code>File Name:include.inc
  include 'module_variables.F90'
  include 'message.F90'
  include 'module_common_functions.f90'
  include 'module_input_gdf.F90'
  ...
  </code></pre>
  
  <p>Relavant LAPACK files</p>
  
  <pre><code>File Name: lapack.inc
  include 'xerbla.f'
  include 'strsm.f'
  include 'slaswp.f'
  include 'sgetrs.f'
  include 'sgetrf.f'
  ...
  </code></pre>
  
  <p>Now my main program looks like:</p>
  
  <pre><code>include 'lapack.inc'
  include 'include.inc'
  
  program MDL_HydroD
  
     use module_variables
     use module_write_files
     use module_read_files
     ...
  </code></pre>
  
  <p>When I try to compile my main code with <code>ifort "MDL HydroD.F90"</code>, the F77 formatted files give error message:</p>
  
  <pre><code>xerbla.f(1): error #5078: Unrecognized token '\' skipped
  *&gt; \brief \b XERBLA
  ---^ 
  </code></pre>
  
  <p>This is because the compiler is reading the commented section (starts with *). Is there any way I can compile with both type of fortran code in my header.</p>
  
  <p>Note: I am using Intel Composer XE 2013 with command prompt.</p>