NetBSD support. Thanks to Christoph Lohmann.
This commit is contained in:
parent
be9e0e9857
commit
5ba33c04da
5 changed files with 27 additions and 2 deletions
|
|
@ -24,7 +24,9 @@ tspawnloop: tspawnloop.$O
|
|||
9l -o $target $target.$O $PLAN9/lib/$LIB -l9 -lpthread
|
||||
|
||||
%.$O: %.c
|
||||
9c -I. $stem.c
|
||||
$CC -I. $stem.c
|
||||
|
||||
NetBSD.$O: Linux.c
|
||||
|
||||
test:V: tprimes tspawn
|
||||
primes 1 10007 >p1.txt
|
||||
|
|
|
|||
|
|
@ -17,6 +17,9 @@ case "$tag" in
|
|||
*-FreeBSD-*)
|
||||
echo $SYSNAME.o ${SYSNAME}asm.o
|
||||
;;
|
||||
*-NetBSD-*)
|
||||
echo $SYSNAME.o ${SYSNAME}asm.o
|
||||
;;
|
||||
*-Darwin-*)
|
||||
echo ${SYSNAME}-${OBJTYPE}-asm.o ${SYSNAME}-${OBJTYPE}.o pthread.o
|
||||
;;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue