<?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>Kinetis Design StudioのトピックHow do you build projects with makefiles?</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-do-you-build-projects-with-makefiles/m-p/476452#M5312</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm embarrassed to admit that throughout my entire professional career, I have only used development tools that at least offer a concept of a "project" or "solution", like Visual Studio and Eclipse.&amp;nbsp; My experience with KDS has been no different.&amp;nbsp; I add projects to a workspace and build from there.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are now in a situation where automated builds are getting to be more and more painful, because we cannot rely on a committed .metadata folder to open a workspace on different machines and build the projects.&amp;nbsp; I have now deleted the .metadata folder from SVN because it serves no useful purpose.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" data-containerid="-1" data-containertype="-1" data-objectid="11093" data-objecttype="3" href="https://community.nxp.com/people/BlackNight"&gt;Erich Styger&lt;/A&gt; has recommended that I use makefiles.&amp;nbsp; I could not find the thread I had participated in where he suggested that, so I was forced to create a new question.&amp;nbsp; And my question is, "what should I do next"?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I build my projects in KDS, a makefile is generated automatically.&amp;nbsp; I figured that I could just save this to SVN and use it to kick off my builds.&amp;nbsp; But first, I wanted to make the project in place.&amp;nbsp; I did this by opening a command prompt at that debug folder, and then invoking make.&amp;nbsp; However, when I do that, it tries to look for files in the KDS folder, rather than in the project folder I had invoked make from.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are there any useful switches that I can use with make to get more info?&amp;nbsp; I tried using "make all", since "all" was the only label that I could see in the makefile.&amp;nbsp; It doesn't bother compiling anything, and instead starts at the linking step, which of course fails because it can't find the object files it needs.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there an easy way for noobs to create makefiles based on an existing KDS project?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Apr 2016 18:50:16 GMT</pubDate>
    <dc:creator>dave408</dc:creator>
    <dc:date>2016-04-01T18:50:16Z</dc:date>
    <item>
      <title>How do you build projects with makefiles?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-do-you-build-projects-with-makefiles/m-p/476452#M5312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm embarrassed to admit that throughout my entire professional career, I have only used development tools that at least offer a concept of a "project" or "solution", like Visual Studio and Eclipse.&amp;nbsp; My experience with KDS has been no different.&amp;nbsp; I add projects to a workspace and build from there.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are now in a situation where automated builds are getting to be more and more painful, because we cannot rely on a committed .metadata folder to open a workspace on different machines and build the projects.&amp;nbsp; I have now deleted the .metadata folder from SVN because it serves no useful purpose.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" data-containerid="-1" data-containertype="-1" data-objectid="11093" data-objecttype="3" href="https://community.nxp.com/people/BlackNight"&gt;Erich Styger&lt;/A&gt; has recommended that I use makefiles.&amp;nbsp; I could not find the thread I had participated in where he suggested that, so I was forced to create a new question.&amp;nbsp; And my question is, "what should I do next"?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I build my projects in KDS, a makefile is generated automatically.&amp;nbsp; I figured that I could just save this to SVN and use it to kick off my builds.&amp;nbsp; But first, I wanted to make the project in place.&amp;nbsp; I did this by opening a command prompt at that debug folder, and then invoking make.&amp;nbsp; However, when I do that, it tries to look for files in the KDS folder, rather than in the project folder I had invoked make from.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are there any useful switches that I can use with make to get more info?&amp;nbsp; I tried using "make all", since "all" was the only label that I could see in the makefile.&amp;nbsp; It doesn't bother compiling anything, and instead starts at the linking step, which of course fails because it can't find the object files it needs.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there an easy way for noobs to create makefiles based on an existing KDS project?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Apr 2016 18:50:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-do-you-build-projects-with-makefiles/m-p/476452#M5312</guid>
      <dc:creator>dave408</dc:creator>
      <dc:date>2016-04-01T18:50:16Z</dc:date>
    </item>
    <item>
      <title>Re: How do you build projects with makefiles?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-do-you-build-projects-with-makefiles/m-p/476453#M5313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I recommend you have a look on Erich's article:&lt;/P&gt;&lt;P&gt;&lt;A href="http://mcuoneclipse.com/2012/02/13/make-my-make-with-eclipse-and-mcu10/" title="http://mcuoneclipse.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;&lt;/P&gt;&lt;P&gt;this method works perfect on my side for managing my own make.&lt;/P&gt;&lt;P&gt;The article is based on Codewarrior, but I think the method should also work for KDS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can this help you?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jennie Zhang&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Apr 2016 12:15:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-do-you-build-projects-with-makefiles/m-p/476453#M5313</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2016-04-06T12:15:31Z</dc:date>
    </item>
    <item>
      <title>Re: How do you build projects with makefiles?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-do-you-build-projects-with-makefiles/m-p/476454#M5314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, Jennie.&amp;nbsp; I will give this a try hopefully by next week and will mark your answer as correct if I can make it work (pun intended).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Apr 2016 13:16:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-do-you-build-projects-with-makefiles/m-p/476454#M5314</guid>
      <dc:creator>dave408</dc:creator>
      <dc:date>2016-04-06T13:16:14Z</dc:date>
    </item>
  </channel>
</rss>

