commit f6c9f7b14c9dce53fff6020200b28c4e25621e87
parent 4698bde2367f971fed3924f2dee736e0dfe37bb9
Author: Russ Cox <rsc@swtch.com>
Date: Sun, 19 Jan 2020 23:04:03 -0500
libthread: fix test deps, cleanup in mkfile
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/libthread/mkfile b/src/libthread/mkfile
@@ -24,6 +24,8 @@ tspawn: test/tspawn.$O
tspawnloop: test/tspawnloop.$O
9l -o $target test/$target.$O
+tprimes tspawn tspawnloop: $PLAN9/lib/$LIB
+
%.$O: %.c
$CC -o $target $CFLAGS -I. $stem.c
@@ -50,4 +52,5 @@ test:V: tprimes tspawn
echo tspawn should take 3 seconds, not 6
$PLAN9/bin/time ./tspawn sleep 3 >/dev/null
-CLEANFILES=p1.txt p2.txt tp1.txt tp2.txt test/*.$O
+CLEANFILES=p1.txt p2.txt tp1.txt tp2.txt test/*.$O tprimes tspawn
+