All the amisc binaries now build.

This commit is contained in:
David Given
2016-06-19 09:32:45 +02:00
parent 1978867fd2
commit d805052205
5 changed files with 46 additions and 12 deletions

View File

@@ -1,16 +1,38 @@
cprogram {
name = "aelflod",
srcs = { "./aelflod.c" },
deps = {
"h+emheaders"
local function simpleprogram(name)
cprogram {
name = name,
srcs = { "./"..name..".c" },
deps = {
"h+emheaders",
"modules+object",
}
}
}
installable {
name = name.."-pkg",
map = {
["$(INSDIR)/bin/"..name] = "+"..name,
["$(PLATIND)/man/man1/"..name..".1"] = "./"..name..".1",
}
}
end
simpleprogram("aelflod")
simpleprogram("anm")
simpleprogram("ashow")
simpleprogram("asize")
simpleprogram("aslod")
simpleprogram("astrip")
installable {
name = "aelflod-pkg",
name = "pkg",
map = {
["$(INSDIR)/bin/aelflod"] = "+aelflod",
["$(PLATIND)/man/man1/aelflod.1"] = "./aelflod.1",
"+aelflod-pkg",
"+anm-pkg",
"+ashow-pkg",
"+asize-pkg",
"+aslod-pkg",
"+astrip-pkg",
}
}