From 8be99bc6983b35ef18ed2147487fd28118bd34d7 Mon Sep 17 00:00:00 2001 From: ruki Date: Fri, 24 Jan 2025 23:03:27 +0800 Subject: improve to parser deps --- xmake/modules/core/tools/sdcc.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'xmake/modules/core/tools/sdcc.lua') diff --git a/xmake/modules/core/tools/sdcc.lua b/xmake/modules/core/tools/sdcc.lua index 6cbec5d43..ed2d55737 100644 --- a/xmake/modules/core/tools/sdcc.lua +++ b/xmake/modules/core/tools/sdcc.lua @@ -243,7 +243,8 @@ function compile(self, sourcefile, objectfile, dependinfo, flags, opt) -- generate the dependent includes if depfile and os.isfile(depfile) then if dependinfo then - dependinfo.depfiles_gcc = io.readfile(depfile, {continuation = "\\"}) + dependinfo.depfiles_format = "gcc" + dependinfo.depfiles = io.readfile(depfile, {continuation = "\\"}) end -- remove the temporary dependent file -- cgit v1.3.1