summaryrefslogtreecommitdiff
path: root/xmake/actions/clean/main.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2017-08-01 11:52:55 +0800
committerruki <[email protected]>2017-08-01 11:52:55 +0800
commitc87c400fcbb581c1590694bf6ee05d73d5d3e984 (patch)
tree613f69068bd9015aecc891b5b67df7992b7e5e54 /xmake/actions/clean/main.lua
parentfa9702bfcf4ba7ed2b599727913444cc3498bfda (diff)
improve dep compile and link
Diffstat (limited to 'xmake/actions/clean/main.lua')
-rw-r--r--xmake/actions/clean/main.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/xmake/actions/clean/main.lua b/xmake/actions/clean/main.lua
index 4fed90d02..50dec8ad1 100644
--- a/xmake/actions/clean/main.lua
+++ b/xmake/actions/clean/main.lua
@@ -62,6 +62,9 @@ function _on_clean_target(target)
-- remove the target arguments file if exists
_remove(target:targetfile() .. ".arg")
+ -- remove the target dependent file if exists
+ _remove(target:depfile())
+
-- remove the symbol file
_remove(target:symbolfile())