On Sun, Oct 13, 2019 at 5:55 PM <k...@plushkava.net> wrote: > shopt -s globstar > for i in ./pace/**/*.c; do > gcc -o "${i%.c}" "$i" > done
You might want to add an `|| break` or `|| exit` there. Or use `set -e`, but I'm not a fan of recommending it. Also maybe just create an actual Makefile or CMakeLists.txt if it's going to stay for a while. -- konsolebox