clean the current directory also (incase mc1322x is a submodule)

This commit is contained in:
Mariano Alvira 2010-02-27 15:42:28 -05:00
parent cc99d5326f
commit ef5a7b57d5
1 changed files with 6 additions and 0 deletions

View File

@ -74,6 +74,12 @@ clean:
-o -name 'obj_*_board' -o -name '.depend' -o -name '*.bin' -o -name '*.dis' \) -print \
| xargs rm -rf
rm -fr *.*~
find \
\( -name 'core' -o -name '*.bak' -o -name '*~' \
-o -name '*.o' -o -name '*.a' -o -name '*.obj' -o -name '*.elf' -o -name '*.s' -o -name '*.map' \
-o -name 'obj_*_board' -o -name '.depend' -o -name '*.bin' -o -name '*.dis' \) -print \
| xargs rm -rf
rm -fr *.*~
clobber \
mrproper \