Move the Modula-2 library includes into a directory in lang/m2 where they belong.
This commit is contained in:
parent
aa19c08512
commit
f8ba7ef962
|
@ -111,6 +111,7 @@ cprogram {
|
||||||
"+real_h",
|
"+real_h",
|
||||||
"+type_h",
|
"+type_h",
|
||||||
"h+emheaders",
|
"h+emheaders",
|
||||||
|
"lang/m2/include+headers",
|
||||||
"modules+headers",
|
"modules+headers",
|
||||||
"modules/src/alloc+lib",
|
"modules/src/alloc+lib",
|
||||||
"modules/src/data+lib",
|
"modules/src/data+lib",
|
||||||
|
|
4
lang/m2/include/build.lua
Normal file
4
lang/m2/include/build.lua
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
clibrary {
|
||||||
|
name = "headers",
|
||||||
|
hdrs = {"./*.h"}
|
||||||
|
}
|
|
@ -32,6 +32,7 @@ for _, plat in ipairs(vars.plats) do
|
||||||
"lang/cem/libcc.ansi/headers+pkg",
|
"lang/cem/libcc.ansi/headers+pkg",
|
||||||
"plat/"..plat.."/include+pkg",
|
"plat/"..plat.."/include+pkg",
|
||||||
"h+emheaders",
|
"h+emheaders",
|
||||||
|
"lang/m2/include+headers",
|
||||||
},
|
},
|
||||||
vars = { plat = plat }
|
vars = { plat = plat }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue