make

From Gentoo Wiki
Jump to:navigation Jump to:search
This article is a stub. Please help out by expanding it - how to get started.

Make is a tool to build software from source code (which usually includes compiling). makefiles contain the instructions to build packages, and these are sometimes generated with Autotools.

Invocation

The emake function should be used to call make.

CODE Example of using emake in an ebuild
src_compile() {
	java-pkg-simple_src_compile

	pushd src/native/unix || die
		./configure
		emake AR="$(tc-getAR)"
	popd
}

See also

  • Autotools — a build system often used for open source projects.
  • Build automation — software that automates the compilation, clean up, and installation stages of the software creation process.

External resources