19 lines
237 B
Bash
Executable File
19 lines
237 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
files="$1"
|
|
compiler="$2"
|
|
options="$3"
|
|
|
|
echo "Will compile files: $files"
|
|
|
|
for f in $files; do
|
|
if [-f "$f" ]; then
|
|
echo "Compiling '$f'.."
|
|
$compiler $options $f
|
|
else
|
|
echo "'$f' not found!"
|
|
fi
|
|
done
|