<?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: Building with makefile in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Building-with-makefile/m-p/154937#M3922</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Hello!&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;This is the commandline from my start .bat file.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;For some reason I have to specify GENPATH with at least .\Sources at the commandline. In the TN 251 all&amp;nbsp;'-ENV' stuff are done inside the makefile but this will not work for me. Why??&lt;/DIV&gt;&lt;DIV&gt;&lt;B&gt;&lt;FONT color="#0000ff" size="2"&gt;&lt;/FONT&gt;&lt;/B&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#000000" size="2"&gt;INSTALLPATH&lt;/FONT&gt;&lt;B&gt;&lt;FONT color="#0000ff" size="2"&gt;%&lt;/FONT&gt;&lt;/B&gt;&lt;FONT color="#000000" size="2"&gt;\prog\piper.exe&lt;/FONT&gt; &lt;B&gt;&lt;FONT color="#0000ff" size="2"&gt;%&lt;/FONT&gt;&lt;/B&gt;&lt;FONT color="#000000" size="2"&gt;INSTALLPATH&lt;/FONT&gt;&lt;B&gt;&lt;FONT color="#0000ff" size="2"&gt;%&lt;/FONT&gt;&lt;/B&gt;&lt;FONT color="#000000" size="2"&gt;\prog\maker.exe&lt;/FONT&gt; &lt;B&gt;&lt;FONT color="#0000ff" size="2"&gt;-&lt;/FONT&gt;&lt;/B&gt;&lt;FONT color="#000000" size="2"&gt;ENV&lt;/FONT&gt;&lt;FONT color="#800000" size="2"&gt;"GENPATH=.\Sources"&lt;/FONT&gt; &lt;FONT color="#000000" size="2"&gt;DINSTALLPATH&lt;/FONT&gt;&lt;B&gt;&lt;FONT color="#0000ff" size="2"&gt;=%&lt;/FONT&gt;&lt;/B&gt;&lt;FONT color="#000000" size="2"&gt;INSTALLPATH&lt;/FONT&gt;&lt;B&gt;&lt;FONT color="#0000ff" size="2"&gt;%&lt;/FONT&gt;&lt;/B&gt;&lt;FONT size="2"&gt;&lt;FONT color="#000000"&gt;display_8f.mak&lt;/FONT&gt;&lt;BR /&gt;&lt;/FONT&gt; &lt;P&gt;&lt;FONT size="2"&gt;/BAN&lt;/FONT&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Jun 2008 13:50:13 GMT</pubDate>
    <dc:creator>BAN</dc:creator>
    <dc:date>2008-06-09T13:50:13Z</dc:date>
    <item>
      <title>Building with makefile</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Building-with-makefile/m-p/154926#M3911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi!&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I'm trying to build my application with a makefile according to TN 251 without using the IDE.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;This application has previously been sucessfully built in the IDE so when setting the flags for the compiler, assembler and linker I'm just copying the Command line argument from the Target settings in the IDE assuming that it's on the same format as used in the makefile. This will however not work! The compiler will not find the .c files in the first place. Here is the argument string : -CpPPAGE=RUNTIME -D_HCS12 -D__NO_FLOAT__ -D_8_FUNC_SYS -La=%f.inc -Lasm=%n.lst -Mb -TuC -WmsgSd2705 -WmsgSd6000. Seems like something is omitted. For example I can not see the -I flag. Would be nice to&amp;nbsp;somewhere find&amp;nbsp;the syntax to be used when running the compiler from DOS (makefile).&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;My question: Is this Command Line Arguments from the IDE the same as used in the makefile or does it have to be converted in some way???&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I'm running CodeWarrior Development Studio for Freescale HCS12(X) Microcontrollers v4.6, build 6345&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 May 2008 15:42:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Building-with-makefile/m-p/154926#M3911</guid>
      <dc:creator>BAN</dc:creator>
      <dc:date>2008-05-08T15:42:45Z</dc:date>
    </item>
    <item>
      <title>Re: Building with makefile</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Building-with-makefile/m-p/154927#M3912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The sample make file is using the environment variables GENPATH to specify directories, where to look for include files.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;If you look at the listing of the sample make file at the end of TN251 you will see the following:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; - On page 5, there&amp;nbsp;are&amp;nbsp;2 macros defined&amp;nbsp;INCLUDEPATH&amp;nbsp; and GENPATH&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; INCLUDEPATH is supposed to list all directories where the compiler should look for system include&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; paths&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; GENPATH is supposed to list all directories where the compiler should look for user include paths.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; - Environment variable GENPATH is passed to&amp;nbsp;the build process through option -ENV.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;So all you have to do is add all paths to directory where the compiler should look for include file to either&amp;nbsp;INCLUDEPATH or GENPATH.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;For files included using &amp;lt;&amp;gt;, the path should be include in INCLUDEPATH&lt;/DIV&gt;&lt;DIV&gt;For files included&amp;nbsp;using "", the path should be specified in GENPATH.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;If you prefer&amp;nbsp;you can alternatively use option -I instead of -ENV&amp;nbsp;to pass GENPATH paths.&lt;/DIV&gt;&lt;DIV&gt;But in any cases you need to adjust GENPATH with the paths to all directories where include files are&amp;nbsp;located.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;CrasyCat&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 May 2008 17:01:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Building-with-makefile/m-p/154927#M3912</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2008-05-08T17:01:16Z</dc:date>
    </item>
    <item>
      <title>Re: Building with makefile</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Building-with-makefile/m-p/154928#M3913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;There is&amp;nbsp; a checkbox in the pref panels which allows to dump the full command line used, including the paths.&lt;BR /&gt;The command line are emitted to the message window from where they can be copied with CTRL-C.&lt;BR /&gt;&lt;BR /&gt;Daniel&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 May 2008 22:15:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Building-with-makefile/m-p/154928#M3913</guid>
      <dc:creator>CompilerGuru</dc:creator>
      <dc:date>2008-05-08T22:15:41Z</dc:date>
    </item>
    <item>
      <title>Re: Building with makefile</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Building-with-makefile/m-p/154929#M3914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi!&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Works fine, thank you!!&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Another problem: After building with the makefile I'm starting the debugger (hiwave.exe) and this one seems to require params with absolute paths. This will not work for me since I'm working in a version-controlled environment and the files could be checked out to any directory. This is the start commando:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#3366FF" face="Courier New" size="2"&gt;%INSTALLPATH%\prog\hiwave.exe P:\Projekt\Mandon_8f\Display\versionhanterat\Makefile_test\bin_8f\E1178_8f.abs.s19 -W -Prod=P:\Projekt\Mandon_8f\Display\versionhanterat\Makefile_test\Simulator.ini -instance=sim&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Is there a way to give relative paths to the .19 and .ini files??&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 May 2008 18:04:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Building-with-makefile/m-p/154929#M3914</guid>
      <dc:creator>BAN</dc:creator>
      <dc:date>2008-05-14T18:04:23Z</dc:date>
    </item>
    <item>
      <title>Re: Building with makefile</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Building-with-makefile/m-p/154930#M3915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Well you can always define project relative paths using .\&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Suppose your project directory (the directory from which you are starting the build process is&lt;/DIV&gt;&lt;DIV&gt;"P:\Projekt\Mandon_8f\Display\versionhanterat\Makefile_test"&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;you can define the below command line as:&lt;/DIV&gt;&lt;DIV&gt;%INSTALLPATH%\prog\hiwave.exe .\bin_8f\E1178_8f.abs.s19 -W -Prod=.\Simulator.ini -instance=sim&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Alternatively you can define a macro PROJECT_DIR in your make file and refer to that macro in the command line.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;For Example:&lt;/DIV&gt;&lt;DIV&gt;PROJECT_DIR=P:\Projekt\Mandon_8f\Display\versionhanterat\Makefile_test&lt;/DIV&gt;&lt;DIV&gt;%INSTALLPATH%\prog\hiwave.exe %PROJECT_DIR%\bin_8f\E1178_8f.abs.s19 -W -Prod=%PROJECT_DIR%\Simulator.ini -instance=sim&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;CrasyCat&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 May 2008 18:50:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Building-with-makefile/m-p/154930#M3915</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2008-05-14T18:50:29Z</dc:date>
    </item>
    <item>
      <title>Re: Building with makefile</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Building-with-makefile/m-p/154931#M3916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;Hello!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Wy wont this work then?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;SPAN&gt;%&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN&gt;INSTALLPATH&lt;/SPAN&gt;&lt;B&gt;&lt;SPAN&gt;%&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN&gt;\prog\hiwave.exe ..\bin_8f\E1178_8f.abs.s19&lt;/SPAN&gt; &lt;B&gt;&lt;SPAN&gt;-&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN&gt;W&lt;/SPAN&gt; &lt;B&gt;&lt;SPAN&gt;-&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN&gt;Prod&lt;/SPAN&gt;&lt;B&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN&gt;..\Simulator.ini&lt;/SPAN&gt; &lt;B&gt;&lt;SPAN&gt;-&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN&gt;instance&lt;/SPAN&gt;&lt;B&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN&gt;sim&lt;/SPAN&gt; &lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;hiwave reports "Failed to load "..\bin_8f\E1178_8f.abs.s19"&lt;/SPAN&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;//B&lt;/SPAN&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 May 2008 13:19:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Building-with-makefile/m-p/154931#M3916</guid>
      <dc:creator>BAN</dc:creator>
      <dc:date>2008-05-16T13:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: Building with makefile</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Building-with-makefile/m-p/154932#M3917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;In my understanding, all relative paths (except the one to the project file, of course) are relative to the directory of the project file. So first the tools are using the OS current directory to locate the project file as given by the -prod option, and then all other files are located with paths relative to the project file (and with the search paths contained in the project file).&lt;BR /&gt;&lt;BR /&gt;So I guess (you did not mention where the files are located on your disk, or what the current directory is&lt;BR /&gt;in your setup) try &lt;SPAN&gt;bin_8f\E1178_8f.abs.s19.&lt;BR /&gt;&lt;BR /&gt;Daniel&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;/SPAN&gt;BTW. Why using the srecord (*.s19) and not the elf file (*.abs)?&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 May 2008 13:41:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Building-with-makefile/m-p/154932#M3917</guid>
      <dc:creator>CompilerGuru</dc:creator>
      <dc:date>2008-05-16T13:41:02Z</dc:date>
    </item>
    <item>
      <title>Re: Building with makefile</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Building-with-makefile/m-p/154933#M3918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;Hello!&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;FONT size="3"&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Times New Roman"&gt;I have now reshaped my directory structure so I’m no longer forced to use ../ . When only using ./, relative paths are not a problem.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;FONT size="3"&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Times New Roman"&gt;Some other problems. When starting to convert the make file from TN 251 for my purposes the make file still had the ability to only recompile changed .c files but somewhere I seem to have lost this feature. This means that all files are recompiled and linked even if nothing has changed.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;FONT size="3"&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Times New Roman"&gt;I wonder if the dependency file and the –Lm and –LmCfg options have any connection to this feature??&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;FONT size="3"&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Times New Roman"&gt;My compiler settings:&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;FONT color="#000000"&gt;CCFLAGS_COMMON=&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt; -CpPPAGE=RUNTIME -Lm=$(DEP_LIST_FILE) -LmCfg=ilmu $(ENVOPTIONS) -D_HCS12 -D__NO_FLOAT__ -D_8_FUNC_SYS -La=%f.inc -Lasm=%n.lst&lt;BR /&gt;-Mb -TuC -WmsgSd2705 -WmsgSd6000 $(ENVOPTIONS)&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;FONT color="#000000"&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;FONT size="3"&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Times New Roman"&gt;At some point I had to move the position of the dependency file, otherwise the compiler could not find it. &lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Are there any rules for where the dependency file should be stored?&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;FONT size="3"&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Times New Roman"&gt;//BAN&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 May 2008 20:23:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Building-with-makefile/m-p/154933#M3918</guid>
      <dc:creator>BAN</dc:creator>
      <dc:date>2008-05-29T20:23:34Z</dc:date>
    </item>
    <item>
      <title>Re: Building with makefile</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Building-with-makefile/m-p/154934#M3919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The file should be available in one of the directories enumerated in the GENPATH environment variables.&lt;/DIV&gt;&lt;DIV&gt;I would also make sure this path is specified in the -ENV"GENPATH= ..." option you are using to start the make utility.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;CrasyCat&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 May 2008 16:33:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Building-with-makefile/m-p/154934#M3919</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2008-05-30T16:33:04Z</dc:date>
    </item>
    <item>
      <title>Re: Building with makefile</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Building-with-makefile/m-p/154935#M3920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Hello!&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I can now control where the dependency file is stored and found but may basic problem still exists: Everything is rebuild everytime even if nothing&amp;nbsp;has changed!! Which part of the makefile 'senses' that a file has to be rebuild?? I have attached my makefile, renamed from .mak to .txt so it can be sent...&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;BAN&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jun 2008 15:30:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Building-with-makefile/m-p/154935#M3920</guid>
      <dc:creator>BAN</dc:creator>
      <dc:date>2008-06-02T15:30:40Z</dc:date>
    </item>
    <item>
      <title>Re: Building with makefile</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Building-with-makefile/m-p/154936#M3921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;What is the command line you are using to start the maker?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;CrasyCat&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2008 13:00:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Building-with-makefile/m-p/154936#M3921</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2008-06-06T13:00:45Z</dc:date>
    </item>
    <item>
      <title>Re: Building with makefile</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Building-with-makefile/m-p/154937#M3922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Hello!&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;This is the commandline from my start .bat file.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;For some reason I have to specify GENPATH with at least .\Sources at the commandline. In the TN 251 all&amp;nbsp;'-ENV' stuff are done inside the makefile but this will not work for me. Why??&lt;/DIV&gt;&lt;DIV&gt;&lt;B&gt;&lt;FONT color="#0000ff" size="2"&gt;&lt;/FONT&gt;&lt;/B&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#000000" size="2"&gt;INSTALLPATH&lt;/FONT&gt;&lt;B&gt;&lt;FONT color="#0000ff" size="2"&gt;%&lt;/FONT&gt;&lt;/B&gt;&lt;FONT color="#000000" size="2"&gt;\prog\piper.exe&lt;/FONT&gt; &lt;B&gt;&lt;FONT color="#0000ff" size="2"&gt;%&lt;/FONT&gt;&lt;/B&gt;&lt;FONT color="#000000" size="2"&gt;INSTALLPATH&lt;/FONT&gt;&lt;B&gt;&lt;FONT color="#0000ff" size="2"&gt;%&lt;/FONT&gt;&lt;/B&gt;&lt;FONT color="#000000" size="2"&gt;\prog\maker.exe&lt;/FONT&gt; &lt;B&gt;&lt;FONT color="#0000ff" size="2"&gt;-&lt;/FONT&gt;&lt;/B&gt;&lt;FONT color="#000000" size="2"&gt;ENV&lt;/FONT&gt;&lt;FONT color="#800000" size="2"&gt;"GENPATH=.\Sources"&lt;/FONT&gt; &lt;FONT color="#000000" size="2"&gt;DINSTALLPATH&lt;/FONT&gt;&lt;B&gt;&lt;FONT color="#0000ff" size="2"&gt;=%&lt;/FONT&gt;&lt;/B&gt;&lt;FONT color="#000000" size="2"&gt;INSTALLPATH&lt;/FONT&gt;&lt;B&gt;&lt;FONT color="#0000ff" size="2"&gt;%&lt;/FONT&gt;&lt;/B&gt;&lt;FONT size="2"&gt;&lt;FONT color="#000000"&gt;display_8f.mak&lt;/FONT&gt;&lt;BR /&gt;&lt;/FONT&gt; &lt;P&gt;&lt;FONT size="2"&gt;/BAN&lt;/FONT&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jun 2008 13:50:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Building-with-makefile/m-p/154937#M3922</guid>
      <dc:creator>BAN</dc:creator>
      <dc:date>2008-06-09T13:50:13Z</dc:date>
    </item>
    <item>
      <title>Re: Building with makefile</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Building-with-makefile/m-p/154938#M3923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Try to add -env"OBJPATH=.\MD2_display_Data\Display_8lever\ObjectCode\" to your command line when you start the make utility.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;CrasyCat&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jun 2008 18:42:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Building-with-makefile/m-p/154938#M3923</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2008-06-09T18:42:50Z</dc:date>
    </item>
    <item>
      <title>Re: Building with makefile</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Building-with-makefile/m-p/154939#M3924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi!&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;YES, it works!!! THANK YOU!&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I have never tried to test the original makefile in TN 251 but the command&amp;nbsp;line in this document does not have this '-env"OBJPATH' and I assume it only compiles changed files anyway. Do you have any idea why??&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;//ban&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jun 2008 22:00:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Building-with-makefile/m-p/154939#M3924</guid>
      <dc:creator>BAN</dc:creator>
      <dc:date>2008-06-09T22:00:09Z</dc:date>
    </item>
    <item>
      <title>Re: Building with makefile</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Building-with-makefile/m-p/154940#M3925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;In fact when the make utility&amp;nbsp;needs to know where the object files are located in order to be able to determine&amp;nbsp;whether a .o file needs to be rebuild.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;This is done independently of the compiler. So maker needs to know where to look for object files.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;CrasyCat&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jun 2008 18:51:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Building-with-makefile/m-p/154940#M3925</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2008-06-10T18:51:54Z</dc:date>
    </item>
    <item>
      <title>Re: Building with makefile</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Building-with-makefile/m-p/154941#M3926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to get my existing project building with makefiles also.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where can I find TN 251? &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can't seem to get it to come up when searching through the Support Documents.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2009 19:15:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Building-with-makefile/m-p/154941#M3926</guid>
      <dc:creator>RCD_Dime</dc:creator>
      <dc:date>2009-05-06T19:15:41Z</dc:date>
    </item>
    <item>
      <title>Re: Building with makefile</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Building-with-makefile/m-p/154942#M3927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Find attached a .zip file containing the TN251 as well as a sample make file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CrasyCat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2009 19:51:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Building-with-makefile/m-p/154942#M3927</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2009-05-06T19:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: Building with makefile</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Building-with-makefile/m-p/154943#M3928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the quick reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I haven't got a chance to look at it yet but is TN 251 applicable for the HCS08 processors as well as the HC12?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2009 19:53:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Building-with-makefile/m-p/154943#M3928</guid>
      <dc:creator>RCD_Dime</dc:creator>
      <dc:date>2009-05-06T19:53:46Z</dc:date>
    </item>
    <item>
      <title>Re: Building with makefile</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Building-with-makefile/m-p/154944#M3929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Both are pretty similar, but attached is the HC08 version.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CrasyCat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2009 20:24:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Building-with-makefile/m-p/154944#M3929</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2009-05-06T20:24:44Z</dc:date>
    </item>
    <item>
      <title>Re: Building with makefile</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Building-with-makefile/m-p/154945#M3930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Thanks!&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2009 20:33:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Building-with-makefile/m-p/154945#M3930</guid>
      <dc:creator>RCD_Dime</dc:creator>
      <dc:date>2009-05-06T20:33:15Z</dc:date>
    </item>
  </channel>
</rss>

