32c881474e
Made this work with cpm (but nothing else yet).
26 lines
341 B
Lua
26 lines
341 B
Lua
include("plat/build.lua")
|
|
|
|
headermap = {}
|
|
packagemap = {}
|
|
|
|
local function addheader(h)
|
|
headermap[h] = "./"..h
|
|
packagemap["$(PLATIND)/cpm/include/"..h] = "./"..h
|
|
end
|
|
|
|
addheader("ack/plat.h")
|
|
addheader("sys/types.h")
|
|
addheader("cpm.h")
|
|
|
|
acklibrary {
|
|
name = "headers",
|
|
hdrs = headermap
|
|
}
|
|
|
|
installable {
|
|
name = "pkg",
|
|
map = packagemap
|
|
}
|
|
|
|
|