On 02/21/2014 08:22 PM, Jon Elson wrote: > On 02/21/2014 06: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 \ >> OK, I badly answered the above question! HEADERS = a.h b.h c.h just creates an environment variable with a list of text (file names in this case). HEADERS: a.h b.h c.h would create a list of dependencies for HEADERS, so that HEADERS would be rebuilt if any of those files listed showed a newer revision date than HEADERS.
HEADERS := <something> is not a syntax I can locate in any docs for make. Does it do something different? I am just barely able to create simple Makefiles. Jon ------------------------------------------------------------------------------ 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
