<?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: PClean command. in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/PClean-command/m-p/594379#M30935</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by lpcxpresso-support on Mon Mar 23 06:21:52 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Simplest way to do this is to create your own Makefile that will be called only on the clean command. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To do this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Call it something like makefile.clean and put it in the root of your project.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Edit the project properties, Click on the C/C++ Build and then the Behavior tab. Change the Clean command to&lt;/SPAN&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;-f ../makefile.clean&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, whenever a clean is performed, your makefile will be called - and you can do anything you want.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 01:31:41 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T01:31:41Z</dc:date>
    <item>
      <title>PClean command.</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/PClean-command/m-p/594377#M30933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by NXP86278 on Mon Mar 23 04:01:04 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to implement my own PClean command to clean the reference project and Delete all Debug and Release folder and customize with my ID.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Where is clean command defined?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2)How can I access and modify it ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks and Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Chandan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:31:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/PClean-command/m-p/594377#M30933</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:31:39Z</dc:date>
    </item>
    <item>
      <title>Re: PClean command.</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/PClean-command/m-p/594378#M30934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by MikeSimmonds on Mon Mar 23 04:42:34 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Clicking the "Clean" quickstart button invokes the build process, but instead of invoking the auto generated makefile&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;for a target "all" it selects target "clean".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can look at the makefile in the debug/release directories to see what it does, but it is usless to edit this to add&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;any of your own operations because they will be lost when the makefile is next regenerated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, in the project properties (somewhere, I can't be bothered to see exactly where) you can change ...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(a) either to use your own makefile (which you must supply and which will not get shafted by the auto makefile&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;generation) I think you untick 'Managed makefile' box or similar. You can probably COPY as a new file the current&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;auto generated makefile and fiddle with it. (Consolidate into a single file for a start!)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;or (b) Maybe the 'clean' section allows 'post build' steps just as the build does.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Or maybe (c) tell it to run an external program, but that might be for build only.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I never build via the IDE, so the details are a bit vague for me. Try the built in help, you may get lucky, I never have.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyway, I am sure that there IS a way, cheers, Mike.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:31:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/PClean-command/m-p/594378#M30934</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:31:40Z</dc:date>
    </item>
    <item>
      <title>Re: PClean command.</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/PClean-command/m-p/594379#M30935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by lpcxpresso-support on Mon Mar 23 06:21:52 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Simplest way to do this is to create your own Makefile that will be called only on the clean command. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To do this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Call it something like makefile.clean and put it in the root of your project.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Edit the project properties, Click on the C/C++ Build and then the Behavior tab. Change the Clean command to&lt;/SPAN&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;-f ../makefile.clean&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, whenever a clean is performed, your makefile will be called - and you can do anything you want.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:31:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/PClean-command/m-p/594379#M30935</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:31:41Z</dc:date>
    </item>
  </channel>
</rss>

