2022-11-24 21:24:18 +01:00
|
|
|
#!/bin/bash
|
2022-11-24 22:20:17 +01:00
|
|
|
returnCode=0
|
|
|
|
echo -e "compiling all files in working directory $(pwd)\n"
|
|
|
|
for file in $(/bin/ls *.c);
|
|
|
|
do
|
|
|
|
./compile.sh $file;
|
|
|
|
if [ "$?" -ne 0 ]
|
|
|
|
then
|
|
|
|
echo -e "\nERROR: could not compile $file !\n";
|
|
|
|
returnCode=1;
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
exit $returnCode
|