blob: b7bee202f43720ac90698fd3921be7af740c45ea (
plain) (
tree)
|
|
return function(s, common)
local function lib(name)
local source = {Collect('src/lib/' .. name .. '/*.c'),
Collect('src/lib/' .. name .. '/*.s')}
return Compile(s.user_settings, source)
end
local libc = {lib('libc'), common.libc, common.libkogata}
return {
libc = libc,
libkogata = {lib('libkogata'), libc},
liblua = {lib('lua'), libc}
}
end
|