aboutsummaryrefslogtreecommitdiff
path: root/src/libthread/mkfile
diff options
context:
space:
mode:
authorRuss Cox <rsc@swtch.com>2007-10-30 13:33:12 -0400
committerRuss Cox <rsc@swtch.com>2007-10-30 13:33:12 -0400
commite7ae61181c96663ca6b5620f78a0d1fdd3a93002 (patch)
treee3cc154b1a858ab6681d2d34798df71da85d6db9 /src/libthread/mkfile
parent45ac814c8609174199cadb6f1bbb4baf7c12c94a (diff)
downloadplan9port-e7ae61181c96663ca6b5620f78a0d1fdd3a93002.tar.gz
plan9port-e7ae61181c96663ca6b5620f78a0d1fdd3a93002.tar.bz2
plan9port-e7ae61181c96663ca6b5620f78a0d1fdd3a93002.zip
libthread: Apple OS X 10.5 (Leopard) tweaks (Jeff Sickel, Bakul Shah)
Diffstat (limited to 'src/libthread/mkfile')
-rw-r--r--src/libthread/mkfile14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/libthread/mkfile b/src/libthread/mkfile
index ac9e260c..99f899cc 100644
--- a/src/libthread/mkfile
+++ b/src/libthread/mkfile
@@ -19,15 +19,15 @@ HFILES=thread.h threadimpl.h
OpenBSD.$O FreeBSD.$O: BSD.c
NetBSD.$O: Linux.c
-tprimes: tprimes.$O
- 9l -o $target $target.$O $PLAN9/lib/$LIB -l9 -lpthread
-tspawn: tspawn.$O
- 9l -o $target $target.$O $PLAN9/lib/$LIB -l9 -lpthread
-tspawnloop: tspawnloop.$O
- 9l -o $target $target.$O $PLAN9/lib/$LIB -l9 -lpthread
+tprimes: test/tprimes.$O
+ 9l -o $target test/$target.$O
+tspawn: test/tspawn.$O
+ 9l -o $target test/$target.$O
+tspawnloop: test/tspawnloop.$O
+ 9l -o $target test/$target.$O
%.$O: %.c
- $CC $CFLAGS -I. $stem.c
+ $CC -o $target $CFLAGS -I. $stem.c
# cannot use generic .S rule because it conflicts
# with generic .s rule in mkcommon on case-insensitive