25 lines
322 B
Lua
25 lines
322 B
Lua
include("plat/build.lua")
|
|
|
|
headermap = {}
|
|
packagemap = {}
|
|
|
|
local function addheader(h)
|
|
headermap[h] = "./"..h
|
|
packagemap["$(PLATIND)/pc86/include/"..h] = "./"..h
|
|
end
|
|
|
|
addheader("ack/config.h")
|
|
addheader("unistd.h")
|
|
|
|
acklibrary {
|
|
name = "headers",
|
|
hdrs = headermap
|
|
}
|
|
|
|
installable {
|
|
name = "pkg",
|
|
map = packagemap
|
|
}
|
|
|
|
|