aboutsummaryrefslogtreecommitdiff
path: root/src/libthread/mkfile
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-05-01 18:38:12 +0000
committerrsc <devnull@localhost>2005-05-01 18:38:12 +0000
commitcea10000c59882b43525e4fd4fb17a55b7dba1c1 (patch)
tree63e81981a798e074e7de146e23c8e16eaf3a26dc /src/libthread/mkfile
parente9ad899486adb4c561e682ced74ac0cb1c4539fc (diff)
downloadplan9port-cea10000c59882b43525e4fd4fb17a55b7dba1c1.tar.gz
plan9port-cea10000c59882b43525e4fd4fb17a55b7dba1c1.tar.bz2
plan9port-cea10000c59882b43525e4fd4fb17a55b7dba1c1.zip
OpenBSD/power support.
Diffstat (limited to 'src/libthread/mkfile')
-rw-r--r--src/libthread/mkfile7
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
-
-