[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: How to force a compilation ?
From: |
Bernard Dautrevaux |
Subject: |
RE: How to force a compilation ? |
Date: |
Thu, 14 Feb 2002 13:46:26 +0100 |
> -----Original Message-----
> From: BERTRAND Joël [mailto:address@hidden
> Sent: Thursday, February 14, 2002 12:51 PM
> To: address@hidden
> Subject: Re: How to force a compilation ?
>
>
> Alexandre Duret-Lutz wrote:
> >>>>"bj" == BERTRAND Joël <address@hidden> 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: address@hidden
address@hidden
--------------------------------------------
- RE: How to force a compilation ?,
Bernard Dautrevaux <=