ack/modules/src/em_code/make.sh
1991-08-26 16:50:25 +00:00

20 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