luamake icon indicating copy to clipboard operation
luamake copied to clipboard

luamake

Build

git clone https://github.com/actboy168/luamake
cd luamake
git submodule update --init
  • Windows (msvc)
compile/install.bat
  • Windows (mingw)
  • MacOS
  • Linux
  • Android
  • NetBSD
  • FreeBSD
Install ninja
compile/install.sh

Quick start

Create file make.lua. For example, this is a make.lua to compile lua:

local lm = require "luamake"
lm:exe "lua" {
    sources = {
        "src/*.c",
        "!src/luac.c" -- ignore luac.c
    }
}

Build

$ luamake

Run

$ ./build/bin/lua