List:MySQL++« Previous MessageNext Message »
From:Chris Frey Date:December 17 2004 7:48am
Subject:make install does copious recompile
View as plain text  
Hi again :-)

Does anyone else notice that when you do a ./configure && make && make
install
that the make install starts recompiling everything again?  I'm not sure
how to stop that.

Also, "examples" always gets compiled, but it is not required when just
compiling for a library install.  Is it enough to just remove "examples"
from the SUBDIR variable in Makefile.am?  Or would that make it impossible
to compile the examples at all?

Or perhaps adding an "all:" rule to Makefile.am, which would override
the default?

I think the ideal would be:

	make		- compiles the lib, static and/or shared, depending
			  on configure
	make examples	- compiles all the examples, and does a make if
			  necessary
	make install	- does no compiling, unless absolutely necessary :-)

- Chris

Thread
make install does copious recompileChris Frey17 Dec
  • Re: make install does copious recompileChris Frey17 Dec
  • Re: make install does copious recompileWarren Young17 Dec
    • Re: make install does copious recompileChris Frey17 Dec
      • Re: make install does copious recompileWarren Young17 Dec
    • Re: make install does copious recompileWarren Young17 Dec
      • Re: make install does copious recompileChris Frey17 Dec