summaryrefslogtreecommitdiff
path: root/xmake/tools/cl.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2017-02-15 10:22:35 +0800
committerruki <[email protected]>2017-02-15 10:22:35 +0800
commit73cd519a9a8130bae7f8c6101787168681e1dcd6 (patch)
treeffb4b9381af1c30e08e8ddbb94da7e4fb04bafe3 /xmake/tools/cl.lua
parent7f135386a31972e4f4e486ae5854115b2e1af5a2 (diff)
rewrite objectfiles for target
Diffstat (limited to 'xmake/tools/cl.lua')
-rwxr-xr-xxmake/tools/cl.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/tools/cl.lua b/xmake/tools/cl.lua
index 1143bf8da..9e32839ea 100755
--- a/xmake/tools/cl.lua
+++ b/xmake/tools/cl.lua
@@ -301,13 +301,13 @@ function compcmd(sourcefiles, objectfile, flags)
end
-- complie the source file
-function compile(sourcefiles, objectfile, incdepfiles, flags)
+function compile(sourcefiles, objectfile, incdepfile, flags)
-- only support single source file now
assert(type(sourcefiles) ~= "table", "'compile:multifiles' not support!")
-- for only single source file
- _compile1(sourcefiles, objectfile, incdepfiles, flags)
+ _compile1(sourcefiles, objectfile, incdepfile, flags)
end
-- check the given flags