ack/lang/b/compiler/build.lua
David Given ebd424e7f1 First draft of the B module code; a module name can now be specified as a
compiler flag, which is used to set the name of the patch table. The compiler
now understands C preprocessor line directives. Extend the standard library
somewhat.
2016-12-29 17:10:21 +00:00

28 lines
401 B
Lua

cprogram {
name = "em_b",
srcs = {
"./*.c",
},
deps = {
"./*.h",
"modules+headers",
"modules/src/alloc+lib",
"modules/src/data+lib",
"modules/src/em_code+lib_k",
"modules/src/em_data+lib",
"modules/src/em_mes+lib",
"modules/src/print+lib",
"modules/src/string+lib",
"modules/src/system+lib",
}
}
installable {
name = "pkg",
map = {
["$(PLATDEP)/em_b"] = "+em_b"
}
}