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",
|
2016-10-15 16:38:46 +00:00
|
|
|
matching(filenamesof("+mcgg_c"), "%.c$"),
|
2016-09-17 20:21:47 +00:00
|
|
|
},
|
|
|
|
deps = {
|
2016-10-15 16:38:46 +00:00
|
|
|
"+mcgg_c",
|
|
|
|
"./*.h",
|
2016-09-17 20:21:47 +00:00
|
|
|
"h+emheaders",
|
|
|
|
"modules+headers",
|
2016-09-18 21:24:54 +00:00
|
|
|
"modules/src/alloc+lib",
|
2016-09-26 20:24:49 +00:00
|
|
|
"modules/src/data+lib",
|
2016-09-17 20:21:47 +00:00
|
|
|
"modules/src/em_code+lib_k",
|
|
|
|
"modules/src/em_data+lib",
|
2016-09-18 21:24:54 +00:00
|
|
|
"modules/src/idf+lib",
|
2016-09-21 22:15:48 +00:00
|
|
|
"modules/src/read_em+lib_ev",
|
|
|
|
"modules/src/string+lib",
|
2016-09-17 20:21:47 +00:00
|
|
|
"modules/src/system+lib",
|
2016-10-15 16:38:46 +00:00
|
|
|
"util/mcgg+lib",
|
2016-09-18 21:24:54 +00:00
|
|
|
},
|
|
|
|
vars = {
|
2016-09-19 21:06:59 +00:00
|
|
|
["+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"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|