passos / luamake

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

luamake

Build

git clone https://github.com/actboy168/luamake
cd luamake
git submodule update --init

msvc

  • compile/install.bat

mingw / macos / linux / android

  • 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

About

License:MIT License


Languages

Language:Lua 95.2%Language:Batchfile 3.0%Language:Shell 1.7%