diff --git a/lang/cem/libcc.ansi/build.lua b/lang/cem/libcc.ansi/build.lua index ca5c9c570..3ca95b629 100644 --- a/lang/cem/libcc.ansi/build.lua +++ b/lang/cem/libcc.ansi/build.lua @@ -38,6 +38,7 @@ for _, plat in ipairs(vars.plats) do "./locale/*.c", "./malloc/*.c", "./math/*.c", + "./math/*.e", "./misc/environ.c", -- don't build everything here as it's all obsolete "./setjmp/*.c", "./setjmp/*.e", diff --git a/mach/m68020/libem/build.lua b/mach/m68020/libem/build.lua index ca5a13c65..d17adcd92 100644 --- a/mach/m68020/libem/build.lua +++ b/mach/m68020/libem/build.lua @@ -1,8 +1,14 @@ for _, plat in ipairs(vars.plats) do acklibrary { name = "lib_"..plat, - srcs = { "./*.s" }, + srcs = { + "./*.s", + "./*.c" + }, vars = { plat = plat }, + deps = { + "h+emheaders" + } } end