Hi all,

 

We use QNX 6.2.1 and 6.5.0, the recursive makefile system and build from the command line. I’m trying to improve the way dependencies are handled.

 

Currently we use EXTRA_CCDEPS to specify all of our header files. This correctly picks up on a change to a header but it causes a full build to occur.

 

On a different platform with a simpler makefile we use the –MD option to GCC to generate dependency files and then -include these files. This picks up on a change to a header file and causes a partial build to occur. This is the behaviour I’d like to set up in QNX.

 

I’ve found these two topics which are related to my problem:

 

http://community.qnx.com/sf/discussion/do/listPosts/projects.toolchain/discussion.core_development_tools.topc20111

 

http://community.qnx.com/sf/discussion/do/listPosts/projects.toolchain/discussion.core_development_tools.topc8391

 

Unfortunately I haven’t figured out to create the behaviour I’d like whilst using the recursive makefile system.

 

I’m fairly new to QNX and to makefiles, so apologies if I’ve missed something obvious.

 

Kind regards,

 

Stephen

--------------------------------------------------------------------------------------------------
This email and any attachments are confidential and are for the use of the
addressee only. If you are not the addressee, you must not use or disclose the
contents to any other person. Please immediately notify the sender and
delete the email. Statements and opinions expressed here may not
represent those of the company. Email correspondence is monitored by
the company. This information may be subject to export control
regulation. You are obliged to comply with such regulations.

Renishaw plc (company number 1106260), Wotton Travel Limited (company
number 01973158) and Renishaw Advanced Materials Limited (company number 04632041),
are companies registered in England and Wales with a registered office
at New Mills, Wotton-under-Edge, Gloucestershire, GL12 8JR,
United Kingdom, Telephone +44 1453 524524.
--------------------------------------------------------------------------------------------------