ack/mach/proto/mcg/build.lua

44 lines
688 B
Lua
Raw Normal View History

2016-09-24 15:20:40 +00:00
include("util/mcgg/build.lua")
mcgg {
name = "mcgg_c",
srcs = { "./table" }
}
2016-09-17 20:21:47 +00:00
cprogram {
name = "mcg",
srcs = {
"./*.c",
matching(filenamesof("+mcgg_c"), "%.c$"),
2016-09-17 20:21:47 +00:00
},
deps = {
"+mcgg_c",
"./*.h",
2016-09-17 20:21:47 +00:00
"h+emheaders",
"modules+headers",
"modules/src/alloc+lib",
"modules/src/data+lib",
2016-09-17 20:21:47 +00:00
"modules/src/em_code+lib_k",
"modules/src/em_data+lib",
"modules/src/idf+lib",
"modules/src/read_em+lib_ev",
"modules/src/string+lib",
2016-09-17 20:21:47 +00:00
"modules/src/system+lib",
"util/mcgg+lib",
},
vars = {
["+cflags"] = {
"-Werror-implicit-function-declaration",
}
2016-09-17 20:21:47 +00:00
}
}
-- Just for test purposes for now
installable {
name = "pkg",
map = {
["$(PLATDEP)/mcg"] = "+mcg"
}
}