2026-07-06 22:13:57 -05:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
2026-07-16 16:09:12 -05:00
|
|
|
cd programs
|
|
|
|
|
ln -s ../sysroot sysroot 2>/dev/null
|
2026-07-06 22:13:57 -05:00
|
|
|
|
2026-07-16 16:09:12 -05:00
|
|
|
find "." -type f \( -name "Makefile" -o -name "makefile" \) | while read -r makefile_path; do
|
2026-07-14 23:15:37 -05:00
|
|
|
dir_path=$(dirname "$makefile_path")
|
|
|
|
|
(
|
|
|
|
|
cd "$dir_path" || exit
|
|
|
|
|
|
|
|
|
|
make clean
|
2026-07-16 16:09:12 -05:00
|
|
|
bear -- make
|
2026-07-14 23:15:37 -05:00
|
|
|
)
|
2026-07-16 16:09:12 -05:00
|
|
|
done
|
|
|
|
|
|
|
|
|
|
cd..
|