diff options
Diffstat (limited to 'src/libthread/mkfile')
-rw-r--r-- | src/libthread/mkfile | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/libthread/mkfile b/src/libthread/mkfile index b1bf3ccf..3750c796 100644 --- a/src/libthread/mkfile +++ b/src/libthread/mkfile @@ -15,6 +15,8 @@ OFILES=\ <$PLAN9/src/mksyslib 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 @@ -24,9 +26,8 @@ tspawnloop: tspawnloop.$O 9l -o $target $target.$O $PLAN9/lib/$LIB -l9 -lpthread %.$O: %.c - $CC -I. $stem.c + $CC $CFLAGS -I. $stem.c -NetBSD.$O: Linux.c test:V: tprimes tspawn primes 1 10007 >p1.txt @@ -40,5 +41,3 @@ test:V: tprimes tspawn CLEANFILES=p1.txt p2.txt tp1.txt tp2.txt - - |