summaryrefslogtreecommitdiff
path: root/mkfile
diff options
context:
space:
mode:
Diffstat (limited to 'mkfile')
-rw-r--r--mkfile7
1 files changed, 6 insertions, 1 deletions
diff --git a/mkfile b/mkfile
index d168918..edfb0c9 100644
--- a/mkfile
+++ b/mkfile
@@ -22,7 +22,12 @@ libobj/libobj.a$O:
cd libobj
mk install
-pulldeps:VQ:
+nuke∅dirs:VQ:
+ for(d in `{walk -d | grep -v '^\.git'})
+ if(~ `{walk -f $d} '')
+ rm -f $d
+
+pulldeps:VQ: nuke∅dirs
git/clone git://antares-labs.eu/libobj || \
git/clone git://shithub.us/rodri/libobj || \
git/clone https://github.com/sametsisartenep/libobj