Makefile.in
changeset 2565 fbc2b9d638ec
parent 2481 30644208c955
child 2577 6fc224df66e8
     1.1 --- a/Makefile.in	Thu May 26 22:51:03 2011 +0200
     1.2 +++ b/Makefile.in	Wed Jul 20 23:52:39 2011 +0200
     1.3 @@ -88,6 +88,17 @@
     1.4  # See top of file for an explanation of why this is needed...
     1.5  ifneq ($(strip $(CT_MAKEFLAGS)),)
     1.6  
     1.7 +# Somehow, the new auto-completion for make in the recent distributions
     1.8 +# trigger a behavior where our Makefile calls itself recursively, in a
     1.9 +# never-ending loop (except on lack of ressources, swap, PIDs...)
    1.10 +# Avoid this situation by cutting the recursion short at the first
    1.11 +# level.
    1.12 +# This has the side effect of only showing the real targets, and hiding our
    1.13 +# internal ones. :-)
    1.14 +ifneq ($(MAKELEVEL),0)
    1.15 +$(error Recursion detected, bailing out...)
    1.16 +endif
    1.17 +
    1.18  MAKEFLAGS += $(CT_MAKEFLAGS)
    1.19  build install clean distclean uninstall:
    1.20  	@$(MAKE) $@