Alexandre Duret-Lutz wrote:
>>>>"bj" == BERTRAND Joël <[EMAIL PROTECTED]> writes:
>>>>
> 
> [...]
> 
>  bj> It works fine. But, when I run "make", a file named rpl.c must
>  bj> be recompiled. How can I do that ?
> 
> What do you mean?  
> 
> If rpl.c must be compiled as rpl.o, just list rpl.c in the
> relevant *_SOURCES variable of your Makefile.am.

rpl.o is built from rpl.c and rpl.h. But I would recompile this file 
when "make" is done (even if rpl.o is up to date, because the gcc 
command line contains "-Ddate=..." which changes.).

> If rpl.c must be generated from some other files, list it in a
> *_SOURCES variable too (or maybe a nodist_*_SOURCES variable)
> and add a custom rule to build it.
> 


        Regards,

        JKB


Reply via email to