automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to force a compilation ?


From: BERTRAND Joël
Subject: Re: How to force a compilation ?
Date: Thu, 14 Feb 2002 14:46:22 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.8) Gecko/20020205

Alexandre Duret-Lutz wrote:
"bj" == bj Joël <address@hidden> writes:


[...]

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

You could add this to your Makefile:

.PHONY : rpl.c

[...]


        I have tried to add

.PHONY: $(srcdir)/rpl.c

at Makefile.am. I have verified, after automake and configure stages, that this line is in Makefile too.

But, when I do "make" in src directory, make returns :
make: Rien à faire pour `all'.
[in english : nothing to do, have a nice day ;-) ]
Weierstrass:[~/programmes/rpl-4.00pre4f/build/i686/src] >

        Thus, the problem is not solved...

        Regards,

        JKB




reply via email to

[Prev in Thread] Current Thread [Next in Thread]