[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Make doesn't understand wich files have been modified
From: |
Warlich, Christof |
Subject: |
RE: Make doesn't understand wich files have been modified |
Date: |
Fri, 25 Nov 2011 15:59:50 +0100 |
Header dependencies are not automatically seem by make;
external tools (typically the compiler, the preprocessor
or makedepend) must deduce these dependencies and tell
make, usually through generated .mk files that are included
by your makefile.
A very god and elaborate hans-on on this topic may be found
here: http://mad-scientist.net/make/autodep.html
Cheers,
Chris
-----Original Message-----
From: address@hidden [mailto:address@hidden On Behalf Of address@hidden
Sent: Freitag, 25. November 2011 10:03
To: address@hidden
Subject: Make doesn't understand wich files have been modified
When i modify an header file (.h) and then i compile the project, not all
sorce (.c) files that include the modified header are re-compiled by make.
I've no problems when i modify only the source .c files.
Make invocation is made with the following command:
make -k pre-build main-build
Any suggestion?
Thanks
AndreaThis message and any file transmitted with it contain confidential
information and are intended only for the use of the individual or entity to
whom they are addressed. If you are not the intended recipient, please delete
this message and attachments and notify the sender immediately by reply email.
Any unauthorised copying of this message or unauthorised distribution of the
information contained herein or any action taken or omitted to be taken in
reliance on it is prohibited. Considering the means of transmission the sender
does not undertake any liability with respect to the secrecy and
confidentiality of the information contained in this email. Although N&W Global
Vending Group takes reasonable care to ensure that any attachment to this email
does not contain software viruses, you should carry out your own virus checks
before opening any attachment. N&W Global Vending Group does not accept any
responsibility for damages caused by viruses or other malicious software
transmitted via email.
Email secured by Check Point
_______________________________________________
Help-make mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/help-make