Otok public index

apotocki/make

GNU Make, built from source.

Library
make
Newest
4.4.1 (r1, apple)
Targets
apple, linux, windows
License
GPL-3.0-or-later
Homepage
https://www.gnu.org/software/make/
Keywords
build, tool

Use it

In otok.toml:

[deps.make]
recipe = "apotocki/make"
version = "~> 4.4.1"

Versions

VersionTargetChannelPublishedStatus
4.4.1 (r1, apple) apple stable 2026-11-07
4.4.1 (r1, linux) linux stable 2026-11-07
4.4.1 (r4, windows) windows stable 2026-11-14
4.4.1 (r3, windows) windows stable 2026-11-10
4.4.1 (r2, windows) windows stable 2026-11-09 withdrawn 1 advisories
4.4.1 (r1, windows) windows stable 2026-11-07 withdrawn 1 advisories

4.4.1 (r1, apple)

Platforms

macosx

Recipe files

build.lua 563 bytes · raw
-- make built by build.sh after configure.
function build(slice, options, deps)
    local p = slice.prefix
    -- without Guile and NLS: make alone, which needs no library of the machine
    local args = { "sh", slice.source .. "/configure", "--prefix=" .. p, "--without-guile", "--disable-nls" }
    otok.run(args, { cwd = slice.build, env = { CC = slice.toolchain.cc } })
    otok.run({ "sh", slice.source .. "/build.sh" }, { cwd = slice.build })
    otok.copy(slice.build .. "/make", p .. "/bin/make")
    return { programs = { make = p .. "/bin/make" } }
end
recipe.toml 904 bytes · raw
# The otok recipe of GNU Make (https://github.com/apotocki/otok): the make program for the builds of other recipes, which
# name it as their toolchain (`make = { default-recipe = "apotocki/make" }`), on macOS: built from the source archive
# by its build.sh, so it needs no make: a make with the jobserver of make 4.4, where the system's is 3.81.
[recipe]
api = 1
library = "make"
name = "make"
version = "4.4.1"
revision = 1
license = "GPL-3.0-or-later"
license-files = ["COPYING"]
homepage = "https://www.gnu.org/software/make/"
description = "GNU Make, built from source."
keywords = ["build", "tool"]

[tool]
programs = ["make"]

[source]
url = "https://ftp.gnu.org/gnu/make/make-4.4.1.tar.gz"
sha256 = "dd16fb1d67bfab79a72f5e8390735c49e3e8e70b4945a15ab1f81ddb78658fb3"
mirrors = ["https://ftpmirror.gnu.org/gnu/make/make-4.4.1.tar.gz"]

[platforms]
supported = ["macosx"]
build-on = ["macos/xcode"]