From 24e02939696e25827b0469c9f636a44e5423d8c5 Mon Sep 17 00:00:00 2001 From: Fons Rademakers <Fons.Rademakers@cern.ch> Date: Sat, 9 Feb 2002 15:34:28 +0000 Subject: [PATCH] add Phil's skip target to the Makefile. Skip allows one to bypass all dependency checking for a quick recompile of only the desired target, e.g.: make skip cont/src/G__Cont.cxx use only for testing purposes in the development process. git-svn-id: http://root.cern.ch/svn/root/trunk@3953 27541ba8-7e3a-0410-8455-c3a389f83636 --- Makefile | 7 +++++-- README/BUILDSYSTEM | 8 +++++++- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 30a0de78f3b..9a2e9e45375 100644 --- a/Makefile +++ b/Makefile @@ -223,7 +223,7 @@ endif .PHONY: all fast config rootcint rootlibs rootexecs dist distsrc \ clean distclean maintainer-clean compiledata importcint \ version html changelog install uninstall showbuild cintdlls \ - static debian redhat \ + static debian redhat skip \ $(patsubst %,all-%,$(MODULES)) \ $(patsubst %,clean-%,$(MODULES)) \ $(patsubst %,distclean-%,$(MODULES)) @@ -232,6 +232,9 @@ all: rootexecs fast: rootexecs +skip: + @true; + include $(patsubst %,%/Module.mk,$(MODULES)) -include MyRules.mk # allow local rules @@ -239,7 +242,7 @@ include $(patsubst %,%/Module.mk,$(MODULES)) ifeq ($(findstring $(MAKECMDGOALS),clean distclean maintainer-clean dist \ distsrc version importcint install uninstall showbuild changelog html \ debian redhat),) -ifeq ($(findstring $(MAKECMDGOALS),fast),) +ifeq ($(findstring skip,$(MAKECMDGOALS))$(findstring fast,$(MAKECMDGOALS)),) include $(INCLUDEFILES) endif include build/dummy.d # must be last include diff --git a/README/BUILDSYSTEM b/README/BUILDSYSTEM index 3f89c9864eb..04fc4fee5ab 100644 --- a/README/BUILDSYSTEM +++ b/README/BUILDSYSTEM @@ -70,7 +70,7 @@ distclean: deletes all files produced in the build maintainer-clean: distclean + remove files produced by configure -version: after manual update of the file +version: after manual update of the file build/version_number this will recreate the file base/inc/RVersion.h and recompile only base/src/TROOT.cxx @@ -104,6 +104,12 @@ redhat: build binary RedHat (rpm) packages debian: build binary Debian (pkg) packages +For developers only: + +skip <obj or dictionary>: skip all dependency checking and just + generate the specified obj or dictionary file + + In addition each module has the following module specific targets: all-<module> builds all components specified in the -- GitLab