Re: renaming source files

2007-08-05 Thread Baurzhan Ismagulov
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

Re: renaming source files

2007-08-05 Thread Ralf Wildenhues
Hello Baurzhan, * Baurzhan Ismagulov wrote on Thu, Aug 02, 2007 at 09:20:43AM CEST: > > 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

renaming source files

2007-08-02 Thread Baurzhan Ismagulov
Hello all, 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; ./c