# HG changeset patch # User Mike Frysinger # Date 1333865214 14400 # Node ID 4d9511f98462cf1fdcc9f657534669fd4dc571bd # Parent d392f5a61a48ce6427ad33fcc8540b3b55b560cc fix out-of-tree cleaning If we build out of tree and then run `make clean`, we hit an infinite loop where libtommath tries to enter subdirs that don't exist and run `make clean`. diff -r d392f5a61a48 -r 4d9511f98462 libtommath/Makefile.in --- a/libtommath/Makefile.in Thu Feb 23 21:46:02 2012 +0800 +++ b/libtommath/Makefile.in Sun Apr 08 02:06:54 2012 -0400 @@ -170,8 +170,8 @@ rm -f *.bat *.pdf *.o *.a *.obj *.lib *.exe *.dll etclib/*.o demo/demo.o test ltmtest mpitest mtest/mtest mtest/mtest.exe \ *.idx *.toc *.log *.aux *.dvi *.lof *.ind *.ilg *.ps *.log *.s mpi.c *.da *.dyn *.dpi tommath.tex `find . -type f | grep [~] | xargs` *.lo *.la rm -rf .libs - cd etc ; MAKE=${MAKE} ${MAKE} clean - cd pics ; MAKE=${MAKE} ${MAKE} clean + -cd etc && MAKE=${MAKE} ${MAKE} clean + -cd pics && MAKE=${MAKE} ${MAKE} clean #zipup the project (take that!) no_oops: clean