aboutsummaryrefslogtreecommitdiff
path: root/src/mklib
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2004-04-21 22:37:44 +0000
committerrsc <devnull@localhost>2004-04-21 22:37:44 +0000
commitb9403fe70a539ab5a6d174e5a800082c542ea06b (patch)
tree6c1bbb4ef110ccebe04dfae0fd71605bab815366 /src/mklib
parent24c8d8491f7260a6b24b285bdcafc3a5f7351cbb (diff)
downloadplan9port-b9403fe70a539ab5a6d174e5a800082c542ea06b.tar.gz
plan9port-b9403fe70a539ab5a6d174e5a800082c542ea06b.tar.bz2
plan9port-b9403fe70a539ab5a6d174e5a800082c542ea06b.zip
use fancy mk syntax
Diffstat (limited to 'src/mklib')
-rw-r--r--src/mklib5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mklib b/src/mklib
index 0a25cef4..a896ac91 100644
--- a/src/mklib
+++ b/src/mklib
@@ -1,7 +1,8 @@
default:V: $LIB
-$LIB: $OFILES
- $AR rvc $LIB $newprereq
+$LIB(%):N: %
+$LIB: ${OFILES:%=$LIB(%)}
+ $AR rvc $LIB `membername $newprereq`
&:n: &.$O
$AR rvc $LIB $stem.$O