Move the Modula-2 library includes into a directory in lang/m2 where they belong.

This commit is contained in:
David Given 2018-06-24 20:32:59 +02:00
parent aa19c08512
commit f8ba7ef962
4 changed files with 6 additions and 0 deletions

View file

@ -111,6 +111,7 @@ cprogram {
"+real_h",
"+type_h",
"h+emheaders",
"lang/m2/include+headers",
"modules+headers",
"modules/src/alloc+lib",
"modules/src/data+lib",

View file

@ -0,0 +1,4 @@
clibrary {
name = "headers",
hdrs = {"./*.h"}
}

View file

@ -32,6 +32,7 @@ for _, plat in ipairs(vars.plats) do
"lang/cem/libcc.ansi/headers+pkg",
"plat/"..plat.."/include+pkg",
"h+emheaders",
"lang/m2/include+headers",
},
vars = { plat = plat }
}