From: rdm Date: Mon, 5 Jul 2004 15:10:17 +0000 (+0000) Subject: it is essential that the default target is a sub-shell "$(MAKE) aliroot". X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=commitdiff_plain;h=4dc83bdbbbdc677bf05625c20efd406397e46d66 it is essential that the default target is a sub-shell "$(MAKE) aliroot". This to make sure that the modules.mk are properly generated (which actually changes the content of the Makefile on the fly) after which the sub-shell make sees the complete correct Makefile. This fixes the problem of rootcint being called before a new module.mk has been generated in case a file has been added or removed. --- diff --git a/Makefile b/Makefile index 7929ed1bccc..4a3bebed49a 100644 --- a/Makefile +++ b/Makefile @@ -123,7 +123,8 @@ LIBS := $(GLIBS) $(ROOTLIBS) $(SYSLIBS) #------------------------------------------------------------------------------- # default target -default: aliroot +default: + $(MAKE) aliroot #------------------------------------------------------------------------------- # Each module will add to these macros