shithub: regress

Download patch

ref: 16e6b176ee0404e48e2bd573727fe6ae92f7235e
parent: 8bb2d903f0145aebca3de73415cd852bdb3e1be0
author: Ori Bernstein <[email protected]>
date: Sun Jul 25 21:45:20 EDT 2021

recurse in mk clean

--- a/regress
+++ b/regress
@@ -29,6 +29,9 @@
 	rm -f *.[$OS] y.tab.? lex.yy.c y.debug y.output [$OS].??* *.acid $TARG $CLEANFILES
 
 clean:V:
+	for(t in $TEST)
+		if(test -d $t)
+			@{cd $t && mk $MKFLAGS clean}
 	rm -f *.[$OS] *.a[$OS] y.tab.? lex.yy.c y.debug y.output [$OS].??* $TARG $CLEANFILES
 
 %.clean:V: