summaryrefslogtreecommitdiff
path: root/xmake/scripts/base/makefile.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2015-05-31 12:06:30 +0800
committerruki <[email protected]>2015-05-31 12:06:30 +0800
commita32ad41a1812ad88043c0ecd0a09301267de9871 (patch)
tree1419f0cf04b9e3a845a75d938e41cfab63762d2c /xmake/scripts/base/makefile.lua
parent529a623ed4eadb802b5174db0957c595af32d5e5 (diff)
impl clean action
Diffstat (limited to 'xmake/scripts/base/makefile.lua')
-rw-r--r--xmake/scripts/base/makefile.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/scripts/base/makefile.lua b/xmake/scripts/base/makefile.lua
index 8a14c1d90..160d65bf7 100644
--- a/xmake/scripts/base/makefile.lua
+++ b/xmake/scripts/base/makefile.lua
@@ -209,6 +209,7 @@ function makefile._make_object(file, target, srcfile, objfile)
-- make body
file:write(string.format("\t@echo [%s]: compiling %s\n", config.get("mode"), srcfile))
+ file:write(string.format("\t@xmake l mkdir %s\n", path.directory(objfile)))
file:write(string.format("\t@%s\n", c:make(srcfile, objfile, "")))
-- make tail