ack/plat/pc86/include/build.lua

25 lines
323 B
Lua
Raw Normal View History

include("plat/build.lua")
headermap = {}
packagemap = {}
local function addheader(h)
headermap[h] = "./"..h
packagemap["$(PLATIND)/pc86/include/"..h] = "./"..h
end
addheader("ack/plat.h")
2018-06-23 10:59:40 +00:00
addheader("sys/types.h")
acklibrary {
name = "headers",
hdrs = headermap
}
installable {
name = "pkg",
map = packagemap
}