summaryrefslogtreecommitdiff
path: root/make.lua
blob: 5b00cb73d10f6a2ed3cd2311789cf5e0bab74333 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
local lm = require 'luamake'

lm.rootdir = '3rd/lni'
lm:lua_library 'lni' {
    sources = "src/*.cpp"
}

lm.rootdir = '3rd/lpeglabel'
lm:lua_library 'lpeglabel' {
    sources = "*.c"
}

lm:build 'bee' {
    '$luamake', '-C', '3rd/bee.lua'
}

lm:build 'install' {
    '$luamake', 'lua', 'make/install.lua',
    deps = {
        "lni",
        "lpeglabel",
        "bee",
    }
}