1991-08-26 16:50:25 +00:00

21 lines
242 B
Bash
Executable File

list=
target=$1
shift
for i
do
echo "+$cc $cflags $i"
if $cc $cflags $i
then
list="$list `basename $i .c`.$suf"
else
exit 1
fi
done
echo "+$ar r libem$target.$libsuf $list"
if $ar r libem$target.$libsuf $list
then
:
else
exit 1
fi