blob: 047e0656b2a0664a8942c92d88b025491cbb4fe4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
return function(s, common)
local function lib(name)
local source = {CollectRecursive('src/lib/' .. name .. '/*.c'),
CollectRecursive('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')},
liblua = {lib('lua')}
}
end
|