Re: make command understanding
On 01/31/2013 08:44 AM, Muhammad Yousuf Khan wrote:
> i normally install things from the repository of debian by "apt-get
> install" however just need to know if in case circumstances push me to
> compile things at some point.so the question that i am asking is just
> for learning purpose.
> i have seen on youtube people first un-tar the package (e.g.
> spamassassin) then they some time run "make" command only without any
> parameter at the end of it and then in next command they run "make
> install" so the question is whats does that first "make" command does,
> why we do not directly use "make install"
>
> Thanks,
>
>
Hi,
make does what is written in a Makefile.
Depending to the source code distribution it can vary a lot.
So the first thing before compiling, is to look to a README or INSTALL
files shipped with the source and look to the Makefile.
Regards,
Alex
Reply to: