tlibthread: fix test deps, cleanup in mkfile - plan9port - [fork] Plan 9 from user space
HTML git clone git://src.adamsgaard.dk/plan9port
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit f6c9f7b14c9dce53fff6020200b28c4e25621e87
DIR parent 4698bde2367f971fed3924f2dee736e0dfe37bb9
HTML Author: Russ Cox <rsc@swtch.com>
Date: Sun, 19 Jan 2020 23:04:03 -0500
libthread: fix test deps, cleanup in mkfile
Diffstat:
M src/libthread/mkfile | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
DIR diff --git a/src/libthread/mkfile b/src/libthread/mkfile
t@@ -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
t@@ -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
+