Skip to content

Commit

Permalink
Avoid argument list too long issue in make clean.
Browse files Browse the repository at this point in the history
  • Loading branch information
xianyi committed Nov 7, 2013
1 parent 2f5fdd2 commit 6d8095b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile.tail
Expand Up @@ -606,7 +606,8 @@ clean ::
@if test -d $(ARCH); then \
(cd $(ARCH) && $(MAKE) clean) \
fi
@rm -rf *.a *.s *.o *.po *.obj *.i *.so core core.* gmon.out *.cso \
@find . -name '*.o' | xargs rm -rf
@rm -rf *.a *.s *.po *.obj *.i *.so core core.* gmon.out *.cso \
*.csx *.is *~ *.exe *.flame *.pdb *.dwf \
gen_insn_flash.c gen_insn_flash *.stackdump *.dll *.exp *.lib \
*.pc *.pcl *.def *.i *.prof linktest.c \
Expand Down

0 comments on commit 6d8095b

Please sign in to comment.