> -----Original Message----- > From: BERTRAND Joël [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 14, 2002 12:51 PM > To: [EMAIL PROTECTED] > Subject: Re: How to force a compilation ? > > > 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.). >
Perhaps something on the line of: rpl.c: always always: addedd to your makefile? HTH Bernard -------------------------------------------- Bernard Dautrevaux Microprocess Ingenierie 97 bis, rue de Colombes 92400 COURBEVOIE FRANCE Tel: +33 (0) 1 47 68 80 80 Fax: +33 (0) 1 47 88 97 85 e-mail: [EMAIL PROTECTED] [EMAIL PROTECTED] --------------------------------------------