script edits

This commit is contained in:
2026-07-14 23:15:37 -05:00
parent 7f6ef0fdc2
commit c77d9e1725
7 changed files with 31 additions and 41 deletions

View File

@@ -1,22 +1,23 @@
#!/bin/bash
cd rocklibc
rm -rf *.o
rm -rf *.a
rm -rf *.json
make clean
cd ..
cd programs
rm -rf *.elf
rm -rf *.o
rm -rf *.json
rm -rf *.a
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
)
done
cd ..
make clean
make clean
cd initrd
rm -rf output
rm -rf *.elf
rm -f bin/*.elf
cd ..