ack/mach/proto/top/build.lua
David Given 25b6712e63 Rework all the ackbuilder scripts not to use wildcards, because we can't expand
them without luaposix, which isn't available (easily) on OSX or Windows.
2022-07-14 23:57:54 +02:00

23 lines
347 B
Lua

include("util/topgen/build.lua")
definerule("build_top",
{
arch = { type="string" },
},
function(e)
local t = topgen {
name = e.name.."_topgen",
srcs = { "mach/"..e.arch.."/top/table" }
}
return cprogram {
name = e.name,
srcs = {
"mach/proto/top/queue.c",
"mach/proto/top/top.c",
},
deps = { t },
}
end
)