This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to force a compilation ?


>>> "bj" == bj Joël <rpl2@free.fr> 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

[...]

-- 
Alexandre Duret-Lutz



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]