Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

make all install

15 views
Skip to first unread message

Hongyi Zhao

unread,
Jul 18, 2012, 12:55:04 AM7/18/12
to
Hi all,

I always use ./configure, make and make install to compile and install
softwares, today, I see the following usage:

------------
./configure --prefix=/usr/local
make all install
-------------

It seems that the "make all install" is equivalent to the following two
lines:

make all
make install

If so, then the following line:

make all install clean

will equivalent to the following three lines:

make all
make install
make clean

Am I right?

Regards
--
.: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.

Thomas 'PointedEars' Lahn

unread,
Jul 18, 2012, 9:11:59 AM7/18/12
to
Hongyi Zhao wrote:

> […]
> If so, then the following line:
>
> make all install clean
>
> will equivalent to the following three lines:
>
> make all
> make install
> make clean
>
> Am I right?

Will you *please* RTFM for a change:

| SYNOPSIS
| make [ -f makefile ] [ options ] ... [ targets ] ...
^^^^^^^^^^^
| […]

--
PointedEars

Please do not Cc: me. / Bitte keine Kopien per E-Mail.

Stachu 'Dozzie' K.

unread,
Jul 18, 2012, 1:16:54 PM7/18/12
to
On 2012-07-18, Hongyi Zhao <hongy...@gmail.com> wrote:
> Hi all,
>
> I always use ./configure, make and make install to compile and install
> softwares,

You do it incorrecty. You shoud build a package with that software.

> today, I see the following usage:
>
> ------------
> ./configure --prefix=/usr/local
> make all install
> -------------
>
> It seems that the "make all install" is equivalent to the following two
> lines:
>
> make all
> make install
[...]
> Am I right?

Have you tried reading `make' documentation?

--
Secunia non olet.
Stanislaw Klekot
0 new messages