ack/lang/basic/lib/build.lua

27 lines
461 B
Lua
Raw Normal View History

2016-08-11 22:24:40 +00:00
include("plat/build.lua")
for _, plat in ipairs(vars.plats) do
acklibrary {
name = "lib_"..plat,
srcs = {
"./*.c",
"./*.e",
},
hdrs = {}, -- must be empty
deps = {
"h+emheaders",
"lang/cem/libcc.ansi/headers+headers",
"plat/"..plat.."/include+headers",
2016-08-11 22:24:40 +00:00
},
vars = { plat = plat }
}
installable {
name = "pkg_"..plat,
map = {
["$(PLATIND)/"..plat.."/libbasic.a"] = "+lib_"..plat,
}
}
end