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)
clibrary {
name = "lib_"..code,
@ -68,10 +79,10 @@ local function build_variant(code, cflags)
"./ucon.c",
},
hdrs = {
"+em_code_ek_h"
"+headers"
},
deps = {
"+em_code_ek_h",
"+headers",
"h+emheaders",
"h+local",
"modules+headers",

View file

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

View file

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