Some day I will get this right.

This commit is contained in:
rsc 2004-03-04 02:06:46 +00:00
parent 6a0523b94e
commit 1ae0de511a
2 changed files with 7 additions and 2 deletions

View file

@ -37,7 +37,12 @@ mkmk.sh:VD:
(cd $i; mk -n -a install)
echo cd ..
done
) | sed 's/'$SYSNAME'/$SYSNAME/; s/'$OBJTYPE'/$OBJTYPE/' >$target
) | sed '
s/'$SYSNAME'/$SYSNAME/g
s/'$OBJTYPE'/$OBJTYPE/g
s/9[ac] *getcallerpc-.*/9a getcallerpc-$OBJTYPE.s || 9c getcallerpc-$OBJTYPE.c/
s/^9[ac] *tas-.*/9a tas-$OBJTYPE.s || 9c tas-$OBJTYPE.c/
' >$target
testmkmk:V:
mk mkmk.sh

View file

@ -67,7 +67,7 @@ cd lib9
9c sleep.c
9c strecpy.c
9c sysfatal.c
9a tas-$SYSNAME.s || 9c tas-$SYSNAME.c
9a tas-$OBJTYPE.s || 9c tas-$OBJTYPE.c
9c time.c
9c tokenize.c
9c u16.c