ack/build.lua

39 lines
551 B
Lua
Raw Normal View History

vars.cflags = {
"-g", "-O"
}
vars.ackcflags = {
"-O6"
}
vars.plats = {
"cpm",
"linux386",
2016-08-14 09:34:18 +00:00
"linux68k",
"pc86",
2016-08-20 10:40:13 +00:00
"rpi",
}
local plat_packages = {}
for _, p in ipairs(vars.plats) do
plat_packages[#plat_packages+1] = "plat/"..p.."+pkg"
end
installable {
name = "ack",
map = {
2016-08-11 22:19:51 +00:00
"lang/basic/src+pkg",
2016-08-12 22:02:21 +00:00
"lang/cem/cemcom.ansi+pkg",
"lang/m2/comp+pkg",
2016-08-13 11:03:06 +00:00
"lang/pc/comp+pkg",
"util/ack+pkg",
"util/amisc+pkg",
"util/arch+pkg",
"util/ego+pkg",
2016-08-14 12:40:01 +00:00
"util/led+pkg",
"util/misc+pkg",
2016-08-07 19:56:53 +00:00
"util/opt+pkg",
"examples+pkg",
plat_packages
}
}