16 lines
305 B
Bash
Executable File
16 lines
305 B
Bash
Executable File
#!/bin/bash
|
|
|
|
cd programs
|
|
ln -s ../sysroot sysroot 2>/dev/null
|
|
|
|
find "." -type f \( -name "Makefile" -o -name "makefile" \) | while read -r makefile_path; do
|
|
dir_path=$(dirname "$makefile_path")
|
|
(
|
|
cd "$dir_path" || exit
|
|
|
|
make clean
|
|
bear -- make
|
|
)
|
|
done
|
|
|
|
cd .. |