Sorry, but I do not have the time for the next few days to sync the 
code and tare through the Makefiles.  Thant being said, here are some 
things regarding the conventional use of Makefiles.

Well, it depends on how the HEADERS variable is used, but it is not 
usually used to "copy" files, but to check for their dependencies.  It 
is likely that you will see something like the following:

%.o: %.c++ ${HEADERS}
        ${CXX} ...

This will will basically recompile the the .c++ file (and produce the 
.o) if the any of the .c++ or .hh files in the HEADERS variable are 
newer than the .o file...

That being said, there might be some chunk of code that copies the 
HEADERS to an include file, but I would immagine that will only happen 
at the very end in the installation phase.

Hope that helps.

   EBo --

On Feb 21 2014 5:28 PM, Robert Ellenberg wrote:
> Hi All,
>
> I'm fixing some little build issues with the new trajectory planner, 
> and
> noticed a quirk with the Makefile that I don't quite understand. 
> There's a
> section of the Makefile that looks like this:
>
> HEADERS := \
>     config.h \
>     emc/ini/emcIniFile.hh \
>     emc/ini/iniaxis.hh \
>     emc/ini/initool.hh \
>     emc/ini/initraj.hh \
>     ...
>
>
> It looks like this copies a bunch of header files to the include 
> folder at
> the top level. What is this for? The reason I ask is that I've added
> several new headers, and refactored some of the TP headers to fix 
> cyclic
> dependencies. Should I add any or all of these new headers to this 
> list?
>
> Thanks,
> Rob
> 
> ------------------------------------------------------------------------------
> Managing the Performance of Cloud-Based Applications
> Take advantage of what the Cloud has to offer - Avoid Common 
> Pitfalls.
> Read the Whitepaper.
> 
> http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
> _______________________________________________
> Emc-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-developers


------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to