automake
[Top][All Lists]
Advanced

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

Re: renaming source files


From: Baurzhan Ismagulov
Subject: Re: renaming source files
Date: Sun, 5 Aug 2007 16:08:32 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

Hello Ralf,

On Sun, Aug 05, 2007 at 03:39:07PM +0200, Ralf Wildenhues wrote:
> > if I rename a file (from .c to .cpp, or move to another dir) and update
> > Makefile.am, calling make in an already configured dir fails with the
> > following message:
> > 
> > make: *** No rule to make target `foo.c', needed by `foo.lo'. Stop.
> > 
> > I have to cd $builddir; find -name foo.\* |xargs rm; ./config.status to
> > fix this. Is there a way to detect and fix this in the autotools?
> 
> I don't know an easy one.
...
> ATM, distclean is a hammer for that.
> 
> Hope that helps.

It does, thanks!

With kind regards,
-- 
Baurzhan Ismagulov
http://www.kz-easy.com/




reply via email to

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