summaryrefslogtreecommitdiff
path: root/mbld/clean.myr
diff options
context:
space:
mode:
Diffstat (limited to 'mbld/clean.myr')
-rw-r--r--mbld/clean.myr7
1 files changed, 6 insertions, 1 deletions
diff --git a/mbld/clean.myr b/mbld/clean.myr
index 51653d6..68e4677 100644
--- a/mbld/clean.myr
+++ b/mbld/clean.myr
@@ -65,7 +65,7 @@ const cleanmyr = {b, targ
const cleanup = {b, targ, leaves
var mchammer_files /* cant touch this */
- var keys, dg
+ var keys, dg, test
/*
we want to automatically add 'clean' sources since otherwise,
@@ -83,6 +83,11 @@ const cleanup = {b, targ, leaves
if !std.htgetv(mchammer_files, k, false) && std.remove(k)
std.put("\tclean {}\n", k)
;;
+ test = std.pathcat("test", k)
+ if std.remove(test)
+ std.put("\tclean {}\n", test)
+ ;;
+ std.slfree(test)
;;
}