Move the em_code headers into the em_code module.

This commit is contained in:
David Given 2016-08-14 14:17:35 +02:00
parent 4d24666432
commit 2dab95eced
6 changed files with 15 additions and 4 deletions

View file

@ -12,6 +12,17 @@ normalrule {
} }
} }
clibrary {
name = "headers",
srcs = {},
hdrs = {
"+em_code_ek_h",
"./em_code.h",
"./em_codeCE.h",
"./em_codeO.h",
}
}
local function build_variant(code, cflags) local function build_variant(code, cflags)
clibrary { clibrary {
name = "lib_"..code, name = "lib_"..code,
@ -68,10 +79,10 @@ local function build_variant(code, cflags)
"./ucon.c", "./ucon.c",
}, },
hdrs = { hdrs = {
"+em_code_ek_h" "+headers"
}, },
deps = { deps = {
"+em_code_ek_h", "+headers",
"h+emheaders", "h+emheaders",
"h+local", "h+local",
"modules+headers", "modules+headers",

View file

@ -4,7 +4,7 @@ clibrary {
deps = { deps = {
"h+emheaders", "h+emheaders",
"modules+headers", "modules+headers",
"modules/src/em_code+em_code_ek_h", "modules/src/em_code+headers",
"modules/src/em_data+lib", "modules/src/em_data+lib",
} }
} }

View file

@ -51,7 +51,7 @@ local function variant(name, cflags)
"h+emheaders", "h+emheaders",
"modules+headers", "modules+headers",
"modules/src/alloc+lib", "modules/src/alloc+lib",
"modules/src/em_code+em_code_ek_h", "modules/src/em_code+headers",
"modules/src/em_data+lib", "modules/src/em_data+lib",
"modules/src/system+lib", "modules/src/system+lib",
} }