<?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>CodeWarrior for MCU中的主题 Re: assembly language .inc dependancies</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/assembly-language-inc-dependancies/m-p/210642#M8293</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Erich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;	I am having trouble with the makefile.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;	If I use&amp;nbsp;the rule:&lt;/P&gt;&lt;P&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Objects/CMDS.obj: Sources/CMDS.asm&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;	(tab)@echo 'Building file: $&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Links:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Oct 2012 19:45:32 GMT</pubDate>
    <dc:creator>michaelhuslig</dc:creator>
    <dc:date>2012-10-10T19:45:32Z</dc:date>
    <item>
      <title>assembly language .inc dependancies</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/assembly-language-inc-dependancies/m-p/210639#M8290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;I have just copied over an S08 assembly language project to CW10.2.&amp;nbsp; Several *.asm files and a couple *.inc files.&amp;nbsp; After the initial build, if I change a .asm file and rebuild, only that file is reassembled before linking, as I would expect.&amp;nbsp; However, if I change a .inc file, none of the .asm files dependant on it (using the include directive) are reassembled.&amp;nbsp; How can I get CW10.2 to recognize this dependancy?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Oct 2012 01:31:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/assembly-language-inc-dependancies/m-p/210639#M8290</guid>
      <dc:creator>michaelhuslig</dc:creator>
      <dc:date>2012-10-06T01:31:56Z</dc:date>
    </item>
    <item>
      <title>Re: assembly language .inc dependancies</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/assembly-language-inc-dependancies/m-p/210640#M8291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think this is not easily possible with managed make. For managed make, the compiler is producing a dependency file which is used by the make file. The assembler does not provide this. It could, but seems this is not implemented. As such, the make file has no idea about the .inc dependency.&lt;/P&gt;&lt;P&gt;The only solution I see is that you would use a normal make project instead of managed make. See &lt;/P&gt;&lt;P&gt;&lt;A href="http://mcuoneclipse.wordpress.com/2012/02/13/make-my-make-with-eclipse-and-mcu10/" title="http://mcuoneclipse.wordpress.com/2012/02/13/make-my-make-with-eclipse-and-mcu10/"&gt;Make my Make with Eclipse and MCU10 | MCU on Eclipse&lt;/A&gt;&lt;/P&gt;&lt;P&gt;how to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Oct 2012 08:40:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/assembly-language-inc-dependancies/m-p/210640#M8291</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2012-10-06T08:40:49Z</dc:date>
    </item>
    <item>
      <title>Re: assembly language .inc dependancies</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/assembly-language-inc-dependancies/m-p/210641#M8292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Erich,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;	I knew the Kinetis compiler handled *.h files automatically;&amp;nbsp; I just&lt;/P&gt;&lt;P&gt;assumed the assemblers would handle *.inc files automatically too and&lt;/P&gt;&lt;P&gt;that I was just missing something.&amp;nbsp; I will go with the makefile&lt;/P&gt;&lt;P&gt;project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;	Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Oct 2012 19:06:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/assembly-language-inc-dependancies/m-p/210641#M8292</guid>
      <dc:creator>michaelhuslig</dc:creator>
      <dc:date>2012-10-08T19:06:58Z</dc:date>
    </item>
    <item>
      <title>Re: assembly language .inc dependancies</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/assembly-language-inc-dependancies/m-p/210642#M8293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Erich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;	I am having trouble with the makefile.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;	If I use&amp;nbsp;the rule:&lt;/P&gt;&lt;P&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Objects/CMDS.obj: Sources/CMDS.asm&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;	(tab)@echo 'Building file: $&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Links:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Oct 2012 19:45:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/assembly-language-inc-dependancies/m-p/210642#M8293</guid>
      <dc:creator>michaelhuslig</dc:creator>
      <dc:date>2012-10-10T19:45:32Z</dc:date>
    </item>
    <item>
      <title>Re: assembly language .inc dependancies</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/assembly-language-inc-dependancies/m-p/210643#M8294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It looks like HTML scrambled my previous message. (And replying in with HTML off seems to hang the system)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;I am having a little trouble with the makefile.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;If I use the recipe:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;Objects/CMDS.obj: Sources/CMDS.asm&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; @echo 'Building file: $&amp;lt;'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; @echo 'Invoking: HCS08 Assembler'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "$(HC08ToolsEnv)/ahc08" $(AFLAGS) "$&amp;lt;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; @echo 'Finished building: $&amp;lt;'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; @echo ' '&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;the file CMDS.obj is generated correctly.&amp;nbsp; But if I clean the project and change the top line to:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;Objects/%.obj: Sources/%.asm&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;then I get the error message:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;mingw32-make: *** No rule to make target `Objects/CMDS.obj'&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;I can't figure out what I am doing wrong.&amp;nbsp; (Of course, I could always write a recipe for each object file, but this is supposed to work.)&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2012 16:51:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/assembly-language-inc-dependancies/m-p/210643#M8294</guid>
      <dc:creator>michaelhuslig</dc:creator>
      <dc:date>2012-10-11T16:51:06Z</dc:date>
    </item>
  </channel>
</rss>

