View Single Post
Old 02-22-2004, 06:02 AM   #2
welcor
Member
 
Join Date: Apr 2002
Location: Aarhus, Denmark, Europe
Posts: 59
welcor is on a distinguished road
Send a message via ICQ to welcor
This seem a bit overkill. Just 'make' by itself should do what you need done. The above is important if you change the makefile. 'make clean' removes compiled object files, and './configure' rebuilds a new makefile if the system configuration has been changed. 'make install' apparantly creates some new subdirectories as well as compiling the source files.

No, because they were already there.

Yes, the new make use the altered source files to generate code.
As I wrote above, it's a bit of overkill. THe 'make' program is smart enough to chekc file access dates, so it can decide which object files need to be updated before linking. Unless you've changed your system setup (kernel, compiler, libraries), there's no reason to either make clean<*> or run configure;
Just cd to your src/ dir and type 'make' when you've made a change.

<*> sometimes running 'make clean;make' can fix some linking issues, but generally it's not needed unless you're making a backup of your code and don't want all those bulky .o files in your tar file.
welcor is offline   Reply With Quote