4b5a7fee14
backend into shape. It now generates binaries --- no idea whether they work or not.
27 lines
372 B
Lua
27 lines
372 B
Lua
include("plat/build.lua")
|
|
|
|
headermap = {}
|
|
packagemap = {}
|
|
|
|
local function addheader(h)
|
|
headermap[h] = "./"..h
|
|
packagemap["$(PLATIND)/pdpv7/include/"..h] = "./"..h
|
|
end
|
|
|
|
addheader("ack/config.h")
|
|
addheader("sys/select.h")
|
|
addheader("termios.h")
|
|
addheader("unistd.h")
|
|
|
|
acklibrary {
|
|
name = "headers",
|
|
hdrs = headermap
|
|
}
|
|
|
|
installable {
|
|
name = "pkg",
|
|
map = packagemap
|
|
}
|
|
|
|
|