aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/venti/mkfile
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/venti/mkfile')
-rw-r--r--src/cmd/venti/mkfile10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/cmd/venti/mkfile b/src/cmd/venti/mkfile
index 48f2c60f..e899ef3f 100644
--- a/src/cmd/venti/mkfile
+++ b/src/cmd/venti/mkfile
@@ -71,16 +71,12 @@ it:V: all
<$PLAN9/src/mkmany
+$SLIB: $LIBOFILES
+ ar rvc $SLIB $LIBOFILES
+
# xml.c:D: mkxml dat.h
# ./mkxml dat.h > xml.c
-$SLIB(%.$O):N: %.$O
-$SLIB: ${LIBOFILES:%=$SLIB(%)}
- names=`echo $newprereq | sed -E 's/'$SLIB'\(([^)]+)\)/\1/g'`
- # names = `{echo $newprereq |sed 's/ /\n/g' |sed -n 's/'$SLIB'\(([^)]+)\)/\1/gp'}
- ar rvc $SLIB $names
-# rm $names
-
ainstall:V: ${TARG:%=%.ainstall}
%.ainstall:V: $O.%