ack/util/led/build.lua
George Koehler ca4bd38206 Delete old "assert.h" files; use libc <assert.h>.
Edit build.lua for programs losing their private assert.h, so they
depend on a list of .h files excluding assert.h.

Remove modules/src/assert; it would be a dependency of cpp.ansi but we
didn't build it, so cpp.ansi uses the libc assert.

I hope that libc <assert.h> can better report failed assertions.  Some
old "assert.h" files didn't report the expression.  Some reported a
literal "x", because traditional C expanded the macro parameter x in
"x", but ANSI C89 doesn't expand macro parameters in string literals.
2017-11-09 22:22:13 -05:00

22 lines
483 B
Lua

cprogram {
name = "led",
srcs = { "./*.c" },
deps = {
"./const.h", "./debug.h", "./defs.h", "./mach.h",
"./memory.h", "./orig.h", "./scan.h",
"modules/src/string+lib",
"modules/src/object+lib",
"h+emheaders",
}
}
installable {
name = "pkg",
map = {
["$(INSDIR)/share/man/man5/ack.out.5"] = "./ack.out.5",
["$(INSDIR)/share/man/man6/led.6"] = "./led.6",
["$(PLATDEP)/em_led"] = "+led",
}
}