tuse fancy mk syntax - plan9port - [fork] Plan 9 from user space (HTM) git clone git://src.adamsgaard.dk/plan9port (DIR) Log (DIR) Files (DIR) Refs (DIR) README (DIR) LICENSE --- (DIR) commit b9403fe70a539ab5a6d174e5a800082c542ea06b (DIR) parent 24c8d8491f7260a6b24b285bdcafc3a5f7351cbb (HTM) Author: rsc <devnull@localhost> Date: Wed, 21 Apr 2004 22:37:44 +0000 use fancy mk syntax Diffstat: M src/mklib | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) --- (DIR) diff --git a/src/mklib b/src/mklib t@@ -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