local lm = require 'luamake' if lm.plat == "macos" then lm.flags = { "-mmacosx-version-min=10.13", } end lm:import("3rd/bee.lua/make.lua", { EXE_RESOURCE = "../../make/lua-language-server.rc" }) lm.rootdir = '3rd/' lm:lua_dll 'lpeglabel' { sources = 'lpeglabel/*.c', visibility = 'default', defines = { 'MAXRECLEVEL=1000', }, } lm:build 'install' { '$luamake', 'lua', 'make/install.lua', lm.builddir, deps = { 'lua', 'lpeglabel', 'bee', 'bootstrap', } } lm:build 'unittest' { '$luamake', 'lua', 'make/unittest.lua', deps = { 'install', 'test', } } lm:default { 'install', 'test', 'unittest', }