Recompiling all sources when the makefile changes

2014-10-09 Thread R. Diez
Hi there: I have the following open-source project that cross-compiles to an embedded target: https://github.com/rdiez/JtagDue I am using Ubuntu 14.04, which comes with autoconf 2.69 and automake 1.14.1. I am building out of the source tree. I noticed that, if I change the version number in t

Re: Recompiling all sources when the makefile changes

2014-10-09 Thread Nick Bowler
On 2014-10-09 14:53 +0100, R. Diez wrote: [...] > I noticed that, if I change the version number in the top-level > configure.ac by amending the call to AC_INIT(), running "make" in the > build directory automatically regenerates the 'configure' script and > re-runs it. However, the C++ source file

Re: Recompiling all sources when the makefile changes

2014-10-09 Thread R. Diez
First of all, thanks for your e-mail. > If "configure" is changing something, an easy and reliable option is > to > ensure that it changes config.h (or some other configuration header), > which will naturally cause a rebuild of files that include the header. This is not as straightforward as i

Re: Recompiling all sources when the makefile changes

2014-10-09 Thread Nick Bowler
On 2014-10-09 20:07 +0100, R. Diez wrote: > > If "configure" is changing something, an easy and reliable option is > > to ensure that it changes config.h (or some other configuration > > header), which will naturally cause a rebuild of files that include > > the header. > > This is not as straight