I see in Linux these things, but what is it?:
./configure
make
make install
etc etc.
The make utility requires a file, Makefile (or makefile ), which defines set of tasks to be executed. You may have used make to compile a program from source code. Most open source projects use make to compile a final executable binary, which can then be installed using make install .
Makefile sets a set of rules to determine which parts of a program need to be recompile, and issues command to recompile them. Makefile is a way of automating software building procedure and other complex tasks with dependencies. Makefile contains: dependency rules, macros and suffix(or implicit) rules.
By convention, this may be the all target, but not necessarily. make install builds the special target, install. By convention, this takes the results of make all , and installs them on the current computer. Not everybody needs make install .
configure
checks if you have all the prerequisites/dependencies to build the software.
make
does the actual compilation.
make install
installs the software in the correct location.
make
is part of the build system commonly used in unix type systems - binutils.
It looks at make files which hold configuration information and build targets.
Specifically -
make
with the default build target. Normally builds the app.make
with the install
build target. Normally installs the app.If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With