|
From: Hans-Bernhard B. <HBB...@t-...> - 2011-04-11 22:34:18
|
On 11.04.2011 11:26, Petr Mikulik wrote: > I wonder about creation of the 3 new directores config/mingw/, > config/cygwin/, config/watcom/ ... but not for all other makefiles. Until > now all makefiles, including unixish ./configure + make, put all .o into > src/, and nobody complains. I complained, by doing something about it. If you're going to use the same source tree with multiple compilers, it's quite important that none of them clutters up the source tree itself. And actually no, the autoconf build does not have to do that, either. It's quite standard procedure to build outside the source tree, i.e. cd /some/where/gnuplot [ -d cygwin ] || mkdir cygwin cd cygwin ../configure && make install It's wasteful to rebuild the entire program from scratch each time you switch target platform (think of an actual heterogeneous Unix environment with different hardware platforms, different OSes and compilers in play), just because the source is cluttered with object files. |