Ausam/sys/ken/run

Find at most related files.
including files from this version of Unix.

: run [ prog ]
cp /dev/null temp$$$x.o
rm -f *.o
if $1x = x  goto all
: loop
echoall
if ! { cc -c -O $1.c } exit
shift
if $1x != x goto loop
ar rv ../lib1
rm *.o
exit
: all
echoall
cc -c -O *.c
ar rv ../lib1 \
once.o trap.o sysent.o sys1.o sys2.o sys3.o sys4.o iget.o prf.o rdwri.o \
slp.o subr.o text.o sig.o clock.o fio.o malloc.o nami.o pipe.o alloc.o
rm *.o
exit