Le samedi 17 mars 2007 09:27, Rafael Almeida a écrit :
> Hello, I found that implicit rules thing very helpful. But I'd like to
> be able to set as a prerequisite any .h file that a .c may include. Is
> there an easy way to make implicit rules such as that? I wouldn't mind
> making the script which extract the header information from the .c
> files.
>

This is described in the make manual, under Rules/Automatic prerequisites. See 
also man gcc about the -M and -MM flags.

-- 
Cédric Lucantis


_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to