Properly declare the library headers as dependencies.

This commit is contained in:
David Given 2016-11-05 11:47:36 +01:00
parent db03785109
commit 7f64fe96c7
7 changed files with 16 additions and 5 deletions

View file

@ -4,7 +4,8 @@ clibrary {
hdrs = { "./alloc.h" },
deps = {
"modules+headers",
"modules/src/system+lib"
"modules/src/system+lib",
"./*.h"
},
}

View file

@ -19,7 +19,8 @@ clibrary {
},
hdrs = { "./flt_arith.h" },
deps = {
"modules+headers"
"modules+headers",
"./*.h",
}
}

View file

@ -5,6 +5,7 @@ clibrary {
"modules+headers",
"h+local",
"h+emheaders",
"./*.h",
},
}

View file

@ -4,7 +4,8 @@ clibrary {
hdrs = { "./print.h" },
deps = {
"modules+headers",
"modules/src/system+lib"
"modules/src/system+lib",
"./*.h"
}
}

View file

@ -54,6 +54,7 @@ local function variant(name, cflags)
"modules/src/em_code+headers",
"modules/src/em_data+lib",
"modules/src/system+lib",
"./*.h",
}
}
end

View file

@ -1,7 +1,10 @@
clibrary {
name = "lib",
srcs = { "./*.c" },
deps = { "modules+headers" },
deps = {
"modules+headers",
"./*.h"
},
}

View file

@ -2,7 +2,10 @@ clibrary {
name = "lib",
srcs = { "./*.c" },
hdrs = { "./system.h" },
deps = { "modules+headers" },
deps = {
"modules+headers",
"./*.h"
},
}