<?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 Re: Using &amp;quot;#include&amp;quot; directive with relative filepaths in Classic/Legacy CodeWarrior</title>
    <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Using-quot-include-quot-directive-with-relative-filepaths/m-p/171207#M3418</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Subfolder is easy.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Just add a path from the source folder:&lt;BR /&gt;INCLUDE "\MC6805\EPRM24XX.ASM"&lt;BR /&gt;&lt;BR /&gt;It always works for me...&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Dec 2007 21:54:32 GMT</pubDate>
    <dc:creator>UcTechnoGeek</dc:creator>
    <dc:date>2007-12-11T21:54:32Z</dc:date>
    <item>
      <title>Using "#include" directive with relative filepaths</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Using-quot-include-quot-directive-with-relative-filepaths/m-p/171205#M3416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;I have inherited a set of source files, with some being located in sub folders of the "Sources" folder. They all relate to controlling a USB On The Go chip via the SPI.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;These have previously been compiled using the IAR compiler.&lt;/DIV&gt;&lt;DIV&gt;They contain relative pathname references to header files, of the form:&lt;/DIV&gt;&lt;DIV&gt;#include "../../hcc_types.h"&lt;/DIV&gt;&lt;DIV&gt;#include "spiu/spiu.h"&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Before I resort to completely rewriting everything with full pathnames, could anyone tell me if there is an option I need to set in the&amp;nbsp;Project Settings&amp;nbsp;options or IDE preferences that enables the compiler to handle these relative refernces?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Dec 2007 07:45:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Using-quot-include-quot-directive-with-relative-filepaths/m-p/171205#M3416</guid>
      <dc:creator>Stephen</dc:creator>
      <dc:date>2007-12-07T07:45:54Z</dc:date>
    </item>
    <item>
      <title>Re: Using "#include" directive with relative filepaths</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Using-quot-include-quot-directive-with-relative-filepaths/m-p/171206#M3417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi there,&lt;BR /&gt;&lt;BR /&gt;yes there is, I would recommend that you read the ACCESS PATHS settings panel description in the IDE manual.&lt;BR /&gt;&lt;BR /&gt;hope this helps...&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Dec 2007 15:07:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Using-quot-include-quot-directive-with-relative-filepaths/m-p/171206#M3417</guid>
      <dc:creator>Voxan</dc:creator>
      <dc:date>2007-12-07T15:07:35Z</dc:date>
    </item>
    <item>
      <title>Re: Using "#include" directive with relative filepaths</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Using-quot-include-quot-directive-with-relative-filepaths/m-p/171207#M3418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Subfolder is easy.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Just add a path from the source folder:&lt;BR /&gt;INCLUDE "\MC6805\EPRM24XX.ASM"&lt;BR /&gt;&lt;BR /&gt;It always works for me...&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2007 21:54:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Using-quot-include-quot-directive-with-relative-filepaths/m-p/171207#M3418</guid>
      <dc:creator>UcTechnoGeek</dc:creator>
      <dc:date>2007-12-11T21:54:32Z</dc:date>
    </item>
  </channel>
</rss>

