Fork me on GitHub

Opened 12 years ago

Closed 12 years ago

#126 closed Bug (fixed)

Linking External Class

Reported by: Michele Selvaggi Owned by:
Priority: major Milestone:
Component: Delphes code Version:
Keywords: Cc:

Description (last modified by favereau)

Dear Experts,

I have implemented a class (called LeptonPair) that uses ExRootAnalysis objects. I have included it in the header of my analyzer called Analysis_WW (based on the Analysis_Ex class). I get this kind of error pasted below.

I believe this is due to some mistake in the makefile (which I cannot figure out).
If needed I can paste the whole code.

Thanks in advance,

Michele

Error:

Building lib/libUtilities.so
>> Building Resolutions_ATLAS
tmp/Examples/src/Analysis_HWW.o: In function `__static_initialization_and_destruction_0(int, int)':
Analysis_HWW.cc:(.text+0x26a0): undefined reference to `ROOT::GenerateInitInstance(LeptonPair const*)'
tmp/Examples/src/Analysis_HWW.o: In function `LeptonPair::~LeptonPair()':
Analysis_HWW.cc:(.text._ZN10LeptonPairD1Ev[LeptonPair::~LeptonPair()]+0x11): undefined reference to `vtable for LeptonPair'
tmp/Examples/src/Analysis_HWW.o:(.data.rel.ro+0x28): undefined reference to `vtable for LeptonPair'
tmp/Examples/src/Analysis_HWW.o: In function `LeptonPair const& std::__median<LeptonPair, bool (*)(LeptonPair, LeptonPair)>(LeptonPair const&, LeptonPair const&, LeptonPair const&, bool (*)(LeptonPair, LeptonPair))':
Analysis_HWW.cc:(.text._ZSt8__medianI10LeptonPairPFbS0_S0_EERKT_S5_S5_S5_T0_[LeptonPair const& std::__median<LeptonPair, bool (*)(LeptonPair, LeptonPair)>(LeptonPair const&, LeptonPair const&, LeptonPair const&, bool (*)(LeptonPair, LeptonPair))]+0x2f): undefined reference to `vtable for LeptonPair'
Analysis_HWW.cc:(.text._ZSt8__medianI10LeptonPairPFbS0_S0_EERKT_S5_S5_S5_T0_[LeptonPair const& std::__median<LeptonPair, bool (*)(LeptonPair, LeptonPair)>(LeptonPair const&, LeptonPair const&, LeptonPair const&, bool (*)(LeptonPair, LeptonPair))]+0x88): undefined reference to `vtable for LeptonPair'
Analysis_HWW.cc:(.text._ZSt8__medianI10LeptonPairPFbS0_S0_EERKT_S5_S5_S5_T0_[LeptonPair const& std::__median<LeptonPair, bool (*)(LeptonPair, LeptonPair)>(LeptonPair const&, LeptonPair const&, LeptonPair const&, bool (*)(LeptonPair, LeptonPair))]+0x119): undefined reference to `vtable for LeptonPair'
tmp/Examples/src/Analysis_HWW.o:Analysis_HWW.cc:(.text._ZSt8__medianI10LeptonPairPFbS0_S0_EERKT_S5_S5_S5_T0_[LeptonPair const& std::__median<LeptonPair, bool (*)(LeptonPair, LeptonPair)>(LeptonPair const&, LeptonPair const&, LeptonPair const&, bool (*)(LeptonPair, LeptonPair))]+0x184): more undefined references to `vtable for LeptonPair' follow
collect2: ld returned 1 exit status
make: *** [Resolutions_ATLAS] Error 1


Makefile:


#
# Makefile for Delphes, a Fast Simulator for general-purpose detectors at the LHC
#
# Author: S. Ovyn, X. Rouby - UCL, Louvain-la-Neuve
# -- inspired by P. Demin's work on ExRootAnalysis (UCL, Louvain-la-Neuve)
# -- the multi-platform configuration is taken from ROOT (root/test/Makefile.arch)
#

-include $(ROOTSYS)/etc/Makefile.arch
-include $(ROOTSYS)/test/Makefile.arch

ifeq ($(ARCH),macosx64)
UNDEFOPT = dynamic_lookup
endif


ifneq (,$(findstring macos,$(ARCH)))
CXXFLAGS += -Dmacos
else 
ifneq (,$(findstring win,$(ARCH)))
CXXFLAGS += -Dwindows
else
CXXFLAGS += -Dlinux
endif
endif


SrcSuf = cc

CXXFLAGS += $(ROOTCFLAGS) -DDROP_CGAL -I. -Iinterface -IUtilities/mcfio -IUtilities/stdhep -IUtilities/Hector/include -IUtilities/CDFCones/interface -IExamples -IUtilities/frog -IUtilities/ExRootAnalysis/interface -IUtilities/Fastjet/include/fastjet -IUtilities/Fastjet/plugins/CDFCones -IUtilities/Fastjet/plugins/CDFCones/interface -IUtilities/Fastjet/plugins/SISCone -IUtilities/CLHEP/Units -IUtilities/HepMC/interface
# -pg -g
LIBS = $(ROOTLIBS) -lEG $(SYSLIBS)
GLIBS = $(ROOTGLIBS) $(SYSLIBS)

###

#SHARED = lib/libUtilities.$(DllSuf) lib/libHector.$(DllSuf)
SHARED = lib/libUtilities.$(DllSuf)
VERSION=$(shell cat VERSION)
FOLDER=Delphes_V_$(VERSION)
TARBALL=$(FOLDER).tar.gz
TESTFILE=tt_jj_small.hep

all:


Resolutions_ATLAS$(ExeSuf): \
	tmp/Resolutions_ATLAS.$(ObjSuf)

tmp/Resolutions_ATLAS.$(ObjSuf): \
	Resolutions_ATLAS.cpp
Delphes$(ExeSuf): \
	tmp/Delphes.$(ObjSuf)

tmp/Delphes.$(ObjSuf): \
	Delphes.cpp
Resolutions$(ExeSuf): \
	tmp/Resolutions.$(ObjSuf)

tmp/Resolutions.$(ObjSuf): \
	Resolutions.cpp
LHCO_Only$(ExeSuf): \
	tmp/Examples/LHCO_Only.$(ObjSuf)

tmp/Examples/LHCO_Only.$(ObjSuf): \
	Examples/LHCO_Only.cpp
Convertors_Only$(ExeSuf): \
	tmp/Examples/Convertors_Only.$(ObjSuf)

tmp/Examples/Convertors_Only.$(ObjSuf): \
	Examples/Convertors_Only.cpp
Analysis_HWW$(ExeSuf): \
	tmp/Examples/Analysis_HWW.$(ObjSuf)

tmp/Examples/Analysis_HWW.$(ObjSuf): \
	Examples/Analysis_HWW.cpp \
	Examples/interface/LeptonPair.h \
	Examples/interface/LeptonPair.cc \
	Examples/interface/Analysis_HWW.h

Trigger_Only$(ExeSuf): \
	tmp/Examples/Trigger_Only.$(ObjSuf)

tmp/Examples/Trigger_Only.$(ObjSuf): \
	Examples/Trigger_Only.cpp
Frog_on_analysis_output$(ExeSuf): \
	tmp/Examples/Frog_on_analysis_output.$(ObjSuf)

tmp/Examples/Frog_on_analysis_output.$(ObjSuf): \
	Examples/Frog_on_analysis_output.cpp
EXECUTABLE =  \
	Resolutions_ATLAS$(ExeSuf) \
	Delphes$(ExeSuf) \
	Resolutions$(ExeSuf) \
	LHCO_Only$(ExeSuf) \
	Convertors_Only$(ExeSuf) \
	Analysis_HWW$(ExeSuf) \
	Trigger_Only$(ExeSuf) \
	Frog_on_analysis_output$(ExeSuf)

EXECUTABLE_OBJ =  \
	tmp/Resolutions_ATLAS.$(ObjSuf) \
	tmp/Delphes.$(ObjSuf) \
	tmp/Resolutions.$(ObjSuf) \
	tmp/Examples/LHCO_Only.$(ObjSuf) \
	tmp/Examples/Convertors_Only.$(ObjSuf) \
	tmp/Examples/Analysis_HWW.$(ObjSuf) \
	tmp/Examples/Trigger_Only.$(ObjSuf) \
	tmp/Examples/Frog_on_analysis_output.$(ObjSuf)

tmp/Utilities/ExRootAnalysis/src/BlockClassesDict.$(SrcSuf): \
	Utilities/ExRootAnalysis/src/BlockClassesLinkDef.h \
	Utilities/ExRootAnalysis/interface/BlockClasses.h \
	interface/D_Constants.h
tmp/src/TreeClassesDict.$(SrcSuf): \
	src/TreeClassesLinkDef.h \
	interface/TreeClasses.h
tmp/Examples/src/Analysis_HWWDict.$(SrcSuf): \
	Examples/src/Analysis_HWWLinkDef.h \
	Examples/interface/LeptonPair.h \
	Examples/interface/LeptonPair.cc \
	Examples/interface/Analysis_HWW.h

DICT =  \
	tmp/Utilities/ExRootAnalysis/src/BlockClassesDict.$(SrcSuf) \
	tmp/src/TreeClassesDict.$(SrcSuf) \
	tmp/Examples/src/Analysis_HWWDict.$(SrcSuf)

DICT_OBJ =  \
	tmp/Utilities/ExRootAnalysis/src/BlockClassesDict.$(ObjSuf) \
	tmp/src/TreeClassesDict.$(ObjSuf) \
	tmp/Examples/src/Analysis_HWWDict.$(ObjSuf)

tmp/src/LeptonPair.$(ObjSuf): \
	Examples/src/LeptonPair.$(SrcSuf)
tmp/src/BFieldProp.$(ObjSuf): \
	src/BFieldProp.$(SrcSuf)
tmp/src/HepMCConverter.$(ObjSuf): \
	src/HepMCConverter.$(SrcSuf)
tmp/src/DelphesRootConverter.$(ObjSuf): \
	src/DelphesRootConverter.$(SrcSuf)
tmp/src/JetsUtil.$(ObjSuf): \
	src/JetsUtil.$(SrcSuf)
tmp/src/FrogUtil.$(ObjSuf): \
	src/FrogUtil.$(SrcSuf)
tmp/src/TriggerUtil.$(ObjSuf): \
	src/TriggerUtil.$(SrcSuf)
tmp/src/D_Constants.$(ObjSuf): \
	src/D_Constants.$(SrcSuf)
tmp/src/VeryForward.$(ObjSuf): \
	src/VeryForward.$(SrcSuf)
tmp/src/HEPEVTConverter.$(ObjSuf): \
	src/HEPEVTConverter.$(SrcSuf)
tmp/src/LHEFConverter.$(ObjSuf): \
	src/LHEFConverter.$(SrcSuf)
tmp/src/CaloUtil.$(ObjSuf): \
	src/CaloUtil.$(SrcSuf)
tmp/src/STDHEPConverter.$(ObjSuf): \
	src/STDHEPConverter.$(SrcSuf)
tmp/src/LHCOConverter.$(ObjSuf): \
	src/LHCOConverter.$(SrcSuf)
tmp/src/TreeClasses.$(ObjSuf): \
	src/TreeClasses.$(SrcSuf)
tmp/src/PdgParticle.$(ObjSuf): \
	src/PdgParticle.$(SrcSuf)
tmp/src/SmearUtil.$(ObjSuf): \
	src/SmearUtil.$(SrcSuf)
tmp/Utilities/ExRootAnalysis/src/ExRootTreeWriter.$(ObjSuf): \
	Utilities/ExRootAnalysis/src/ExRootTreeWriter.$(SrcSuf)
tmp/Utilities/ExRootAnalysis/src/ExRootTreeReader.$(ObjSuf): \
	Utilities/ExRootAnalysis/src/ExRootTreeReader.$(SrcSuf)
tmp/Utilities/ExRootAnalysis/src/ExRootTreeBranch.$(ObjSuf): \
	Utilities/ExRootAnalysis/src/ExRootTreeBranch.$(SrcSuf)
tmp/Utilities/ExRootAnalysis/src/BlockClasses.$(ObjSuf): \
	Utilities/ExRootAnalysis/src/BlockClasses.$(SrcSuf)
tmp/Utilities/ExRootAnalysis/src/ExRootProgressBar.$(ObjSuf): \
	Utilities/ExRootAnalysis/src/ExRootProgressBar.$(SrcSuf)
tmp/Utilities/Hector/src/H_RectEllipticAperture.$(ObjSuf): \
	Utilities/Hector/src/H_RectEllipticAperture.$(SrcSuf)
tmp/Utilities/Hector/src/H_BeamParticle.$(ObjSuf): \
	Utilities/Hector/src/H_BeamParticle.$(SrcSuf)
tmp/Utilities/Hector/src/H_SectorDipole.$(ObjSuf): \
	Utilities/Hector/src/H_SectorDipole.$(SrcSuf)
tmp/Utilities/Hector/src/H_RomanPot.$(ObjSuf): \
	Utilities/Hector/src/H_RomanPot.$(SrcSuf)
tmp/Utilities/Hector/src/H_RecRPObject.$(ObjSuf): \
	Utilities/Hector/src/H_RecRPObject.$(SrcSuf)
tmp/Utilities/Hector/src/H_Drift.$(ObjSuf): \
	Utilities/Hector/src/H_Drift.$(SrcSuf)
tmp/Utilities/Hector/src/H_VerticalKicker.$(ObjSuf): \
	Utilities/Hector/src/H_VerticalKicker.$(SrcSuf)
tmp/Utilities/Hector/src/H_OpticalElement.$(ObjSuf): \
	Utilities/Hector/src/H_OpticalElement.$(SrcSuf)
tmp/Utilities/Hector/src/H_HorizontalQuadrupole.$(ObjSuf): \
	Utilities/Hector/src/H_HorizontalQuadrupole.$(SrcSuf)
tmp/Utilities/Hector/src/H_Beam.$(ObjSuf): \
	Utilities/Hector/src/H_Beam.$(SrcSuf)
tmp/Utilities/Hector/src/H_Quadrupole.$(ObjSuf): \
	Utilities/Hector/src/H_Quadrupole.$(SrcSuf)
tmp/Utilities/Hector/src/H_Dipole.$(ObjSuf): \
	Utilities/Hector/src/H_Dipole.$(SrcSuf)
tmp/Utilities/Hector/src/H_RectangularCollimator.$(ObjSuf): \
	Utilities/Hector/src/H_RectangularCollimator.$(SrcSuf)
tmp/Utilities/Hector/src/H_EllipticAperture.$(ObjSuf): \
	Utilities/Hector/src/H_EllipticAperture.$(SrcSuf)
tmp/Utilities/Hector/src/H_HorizontalKicker.$(ObjSuf): \
	Utilities/Hector/src/H_HorizontalKicker.$(SrcSuf)
tmp/Utilities/Hector/src/H_Kicker.$(ObjSuf): \
	Utilities/Hector/src/H_Kicker.$(SrcSuf)
tmp/Utilities/Hector/src/H_TransportMatrices.$(ObjSuf): \
	Utilities/Hector/src/H_TransportMatrices.$(SrcSuf)
tmp/Utilities/Hector/src/H_BeamLine.$(ObjSuf): \
	Utilities/Hector/src/H_BeamLine.$(SrcSuf)
tmp/Utilities/Hector/src/H_Aperture.$(ObjSuf): \
	Utilities/Hector/src/H_Aperture.$(SrcSuf)
tmp/Utilities/Hector/src/H_Parameters.$(ObjSuf): \
	Utilities/Hector/src/H_Parameters.$(SrcSuf)
tmp/Utilities/Hector/src/H_BeamLineParser.$(ObjSuf): \
	Utilities/Hector/src/H_BeamLineParser.$(SrcSuf)
tmp/Utilities/Hector/src/H_VerticalQuadrupole.$(ObjSuf): \
	Utilities/Hector/src/H_VerticalQuadrupole.$(SrcSuf)
tmp/Utilities/Hector/src/H_RectangularAperture.$(ObjSuf): \
	Utilities/Hector/src/H_RectangularAperture.$(SrcSuf)
tmp/Utilities/Hector/src/H_CircularAperture.$(ObjSuf): \
	Utilities/Hector/src/H_CircularAperture.$(SrcSuf)
tmp/Utilities/Hector/src/H_AbstractBeamLine.$(ObjSuf): \
	Utilities/Hector/src/H_AbstractBeamLine.$(SrcSuf)
tmp/Utilities/Hector/src/H_Marker.$(ObjSuf): \
	Utilities/Hector/src/H_Marker.$(SrcSuf)
tmp/Utilities/Hector/src/H_RectangularDipole.$(ObjSuf): \
	Utilities/Hector/src/H_RectangularDipole.$(SrcSuf)
tmp/Utilities/Fastjet/src/ClusterSequenceArea.$(ObjSuf): \
	Utilities/Fastjet/src/ClusterSequenceArea.$(SrcSuf)
tmp/Utilities/Fastjet/src/ClusterSequenceVoronoiArea.$(ObjSuf): \
	Utilities/Fastjet/src/ClusterSequenceVoronoiArea.$(SrcSuf)
tmp/Utilities/Fastjet/src/MinHeap.$(ObjSuf): \
	Utilities/Fastjet/src/MinHeap.$(SrcSuf)
tmp/Utilities/Fastjet/src/ClusterSequence_N2.$(ObjSuf): \
	Utilities/Fastjet/src/ClusterSequence_N2.$(SrcSuf)
tmp/Utilities/Fastjet/src/ClusterSequence_TiledN2.$(ObjSuf): \
	Utilities/Fastjet/src/ClusterSequence_TiledN2.$(SrcSuf)
tmp/Utilities/Fastjet/src/DnnPlane.$(ObjSuf): \
	Utilities/Fastjet/src/DnnPlane.$(SrcSuf)
tmp/Utilities/Fastjet/src/Dnn4piCylinder.$(ObjSuf): \
	Utilities/Fastjet/src/Dnn4piCylinder.$(SrcSuf)
tmp/Utilities/Fastjet/src/ClosestPair2D.$(ObjSuf): \
	Utilities/Fastjet/src/ClosestPair2D.$(SrcSuf)
tmp/Utilities/Fastjet/src/JetDefinition.$(ObjSuf): \
	Utilities/Fastjet/src/JetDefinition.$(SrcSuf)
tmp/Utilities/Fastjet/src/ClusterSequence_Delaunay.$(ObjSuf): \
	Utilities/Fastjet/src/ClusterSequence_Delaunay.$(SrcSuf)
tmp/Utilities/Fastjet/src/ClusterSequence.$(ObjSuf): \
	Utilities/Fastjet/src/ClusterSequence.$(SrcSuf)
tmp/Utilities/Fastjet/src/ClusterSequence1GhostPassiveArea.$(ObjSuf): \
	Utilities/Fastjet/src/ClusterSequence1GhostPassiveArea.$(SrcSuf)
tmp/Utilities/Fastjet/src/PseudoJet.$(ObjSuf): \
	Utilities/Fastjet/src/PseudoJet.$(SrcSuf)
tmp/Utilities/Fastjet/src/Dnn3piCylinder.$(ObjSuf): \
	Utilities/Fastjet/src/Dnn3piCylinder.$(SrcSuf)
tmp/Utilities/Fastjet/src/RangeDefinition.$(ObjSuf): \
	Utilities/Fastjet/src/RangeDefinition.$(SrcSuf)
tmp/Utilities/Fastjet/src/ClusterSequenceActiveAreaExplicitGhosts.$(ObjSuf): \
	Utilities/Fastjet/src/ClusterSequenceActiveAreaExplicitGhosts.$(SrcSuf)
tmp/Utilities/Fastjet/src/Dnn2piCylinder.$(ObjSuf): \
	Utilities/Fastjet/src/Dnn2piCylinder.$(SrcSuf)
tmp/Utilities/Fastjet/src/ClusterSequence_DumbN3.$(ObjSuf): \
	Utilities/Fastjet/src/ClusterSequence_DumbN3.$(SrcSuf)
tmp/Utilities/Fastjet/src/Error.$(ObjSuf): \
	Utilities/Fastjet/src/Error.$(SrcSuf)
tmp/Utilities/Fastjet/src/ClusterSequenceAreaBase.$(ObjSuf): \
	Utilities/Fastjet/src/ClusterSequenceAreaBase.$(SrcSuf)
tmp/Utilities/Fastjet/src/GhostedAreaSpec.$(ObjSuf): \
	Utilities/Fastjet/src/GhostedAreaSpec.$(SrcSuf)
tmp/Utilities/Fastjet/src/AreaDefinition.$(ObjSuf): \
	Utilities/Fastjet/src/AreaDefinition.$(SrcSuf)
tmp/Utilities/Fastjet/src/Voronoi.$(ObjSuf): \
	Utilities/Fastjet/src/Voronoi.$(SrcSuf)
tmp/Utilities/Fastjet/src/ClusterSequenceActiveArea.$(ObjSuf): \
	Utilities/Fastjet/src/ClusterSequenceActiveArea.$(SrcSuf)
tmp/Utilities/Fastjet/src/ClusterSequence_CP2DChan.$(ObjSuf): \
	Utilities/Fastjet/src/ClusterSequence_CP2DChan.$(SrcSuf)
tmp/Utilities/Fastjet/src/ClusterSequencePassiveArea.$(ObjSuf): \
	Utilities/Fastjet/src/ClusterSequencePassiveArea.$(SrcSuf)
tmp/Utilities/Fastjet/src/BasicRandom.$(ObjSuf): \
	Utilities/Fastjet/src/BasicRandom.$(SrcSuf)
tmp/Utilities/Fastjet/plugins/CDFCones/CDFMidPointPlugin.$(ObjSuf): \
	Utilities/Fastjet/plugins/CDFCones/CDFMidPointPlugin.$(SrcSuf) \
	Utilities/Fastjet/include/fastjet/ClusterSequence.hh \
	Utilities/Fastjet/include/fastjet/Error.hh
tmp/Utilities/Fastjet/plugins/CDFCones/CDFJetCluPlugin.$(ObjSuf): \
	Utilities/Fastjet/plugins/CDFCones/CDFJetCluPlugin.$(SrcSuf) \
	Utilities/Fastjet/include/fastjet/ClusterSequence.hh
tmp/Utilities/Fastjet/plugins/CDFCones/src/MidPointAlgorithm.$(ObjSuf): \
	Utilities/Fastjet/plugins/CDFCones/src/MidPointAlgorithm.$(SrcSuf)
tmp/Utilities/Fastjet/plugins/CDFCones/src/Cluster.$(ObjSuf): \
	Utilities/Fastjet/plugins/CDFCones/src/Cluster.$(SrcSuf)
tmp/Utilities/Fastjet/plugins/CDFCones/src/JetCluAlgorithm.$(ObjSuf): \
	Utilities/Fastjet/plugins/CDFCones/src/JetCluAlgorithm.$(SrcSuf)
tmp/Utilities/Fastjet/plugins/CDFCones/src/CalTower.$(ObjSuf): \
	Utilities/Fastjet/plugins/CDFCones/src/CalTower.$(SrcSuf)
tmp/Utilities/Fastjet/plugins/CDFCones/src/Centroid.$(ObjSuf): \
	Utilities/Fastjet/plugins/CDFCones/src/Centroid.$(SrcSuf)
tmp/Utilities/Fastjet/plugins/CDFCones/src/LorentzVector.$(ObjSuf): \
	Utilities/Fastjet/plugins/CDFCones/src/LorentzVector.$(SrcSuf)
tmp/Utilities/Fastjet/plugins/CDFCones/src/PhysicsTower.$(ObjSuf): \
	Utilities/Fastjet/plugins/CDFCones/src/PhysicsTower.$(SrcSuf)
tmp/Utilities/Fastjet/plugins/CDFCones/src/ClusterComparisons.$(ObjSuf): \
	Utilities/Fastjet/plugins/CDFCones/src/ClusterComparisons.$(SrcSuf)
tmp/Utilities/Fastjet/plugins/SISCone/SISConePlugin.$(ObjSuf): \
	Utilities/Fastjet/plugins/SISCone/SISConePlugin.$(SrcSuf) \
	Utilities/Fastjet/include/fastjet/ClusterSequence.hh
tmp/Utilities/Fastjet/plugins/SISCone/src/siscone_error.$(ObjSuf): \
	Utilities/Fastjet/plugins/SISCone/src/siscone_error.$(SrcSuf)
tmp/Utilities/Fastjet/plugins/SISCone/src/geom_2d.$(ObjSuf): \
	Utilities/Fastjet/plugins/SISCone/src/geom_2d.$(SrcSuf)
tmp/Utilities/Fastjet/plugins/SISCone/src/ranlux.$(ObjSuf): \
	Utilities/Fastjet/plugins/SISCone/src/ranlux.$(SrcSuf)
tmp/Utilities/Fastjet/plugins/SISCone/src/split_merge.$(ObjSuf): \
	Utilities/Fastjet/plugins/SISCone/src/split_merge.$(SrcSuf)
tmp/Utilities/Fastjet/plugins/SISCone/src/area.$(ObjSuf): \
	Utilities/Fastjet/plugins/SISCone/src/area.$(SrcSuf)
tmp/Utilities/Fastjet/plugins/SISCone/src/hash.$(ObjSuf): \
	Utilities/Fastjet/plugins/SISCone/src/hash.$(SrcSuf)
tmp/Utilities/Fastjet/plugins/SISCone/src/vicinity.$(ObjSuf): \
	Utilities/Fastjet/plugins/SISCone/src/vicinity.$(SrcSuf)
tmp/Utilities/Fastjet/plugins/SISCone/src/siscone.$(ObjSuf): \
	Utilities/Fastjet/plugins/SISCone/src/siscone.$(SrcSuf)
tmp/Utilities/Fastjet/plugins/SISCone/src/protocones.$(ObjSuf): \
	Utilities/Fastjet/plugins/SISCone/src/protocones.$(SrcSuf)
tmp/Utilities/Fastjet/plugins/SISCone/src/quadtree.$(ObjSuf): \
	Utilities/Fastjet/plugins/SISCone/src/quadtree.$(SrcSuf)
tmp/Utilities/Fastjet/plugins/SISCone/src/reference.$(ObjSuf): \
	Utilities/Fastjet/plugins/SISCone/src/reference.$(SrcSuf)
tmp/Utilities/Fastjet/plugins/SISCone/src/momentum.$(ObjSuf): \
	Utilities/Fastjet/plugins/SISCone/src/momentum.$(SrcSuf)
tmp/Examples/src/Analysis_HWW.$(ObjSuf): \
	Examples/src/Analysis_HWW.$(SrcSuf) \
	Examples/interface/Analysis_HWW.h
tmp/Utilities/HepMC/src/IO_AsciiParticles.$(ObjSuf): \
	Utilities/HepMC/src/IO_AsciiParticles.$(SrcSuf)
tmp/Utilities/HepMC/src/GenRanges.$(ObjSuf): \
	Utilities/HepMC/src/GenRanges.$(SrcSuf)
tmp/Utilities/HepMC/src/IO_GenEvent.$(ObjSuf): \
	Utilities/HepMC/src/IO_GenEvent.$(SrcSuf)
tmp/Utilities/HepMC/src/GenEventStreamIO.$(ObjSuf): \
	Utilities/HepMC/src/GenEventStreamIO.$(SrcSuf)
tmp/Utilities/HepMC/src/GenParticle.$(ObjSuf): \
	Utilities/HepMC/src/GenParticle.$(SrcSuf)
tmp/Utilities/HepMC/src/Flow.$(ObjSuf): \
	Utilities/HepMC/src/Flow.$(SrcSuf)
tmp/Utilities/HepMC/src/Units.$(ObjSuf): \
	Utilities/HepMC/src/Units.$(SrcSuf)
tmp/Utilities/HepMC/src/CompareGenEvent.$(ObjSuf): \
	Utilities/HepMC/src/CompareGenEvent.$(SrcSuf)
tmp/Utilities/HepMC/src/HeavyIon.$(ObjSuf): \
	Utilities/HepMC/src/HeavyIon.$(SrcSuf)
tmp/Utilities/HepMC/src/PdfInfo.$(ObjSuf): \
	Utilities/HepMC/src/PdfInfo.$(SrcSuf)
tmp/Utilities/HepMC/src/WeightContainer.$(ObjSuf): \
	Utilities/HepMC/src/WeightContainer.$(SrcSuf)
tmp/Utilities/HepMC/src/StreamInfo.$(ObjSuf): \
	Utilities/HepMC/src/StreamInfo.$(SrcSuf)
tmp/Utilities/HepMC/src/GenEvent.$(ObjSuf): \
	Utilities/HepMC/src/GenEvent.$(SrcSuf)
tmp/Utilities/HepMC/src/GenCrossSection.$(ObjSuf): \
	Utilities/HepMC/src/GenCrossSection.$(SrcSuf)
tmp/Utilities/HepMC/src/SearchVector.$(ObjSuf): \
	Utilities/HepMC/src/SearchVector.$(SrcSuf)
tmp/Utilities/HepMC/src/filterEvent.$(ObjSuf): \
	Utilities/HepMC/src/filterEvent.$(SrcSuf)
tmp/Utilities/HepMC/src/StreamHelpers.$(ObjSuf): \
	Utilities/HepMC/src/StreamHelpers.$(SrcSuf)
tmp/Utilities/HepMC/src/GenVertex.$(ObjSuf): \
	Utilities/HepMC/src/GenVertex.$(SrcSuf)
tmp/Utilities/HepMC/src/Polarization.$(ObjSuf): \
	Utilities/HepMC/src/Polarization.$(SrcSuf)
SOURCE_OBJ =  \
	tmp/src/BFieldProp.$(ObjSuf) \
	tmp/src/HepMCConverter.$(ObjSuf) \
	tmp/src/DelphesRootConverter.$(ObjSuf) \
	tmp/src/JetsUtil.$(ObjSuf) \
	tmp/src/FrogUtil.$(ObjSuf) \
	tmp/src/TriggerUtil.$(ObjSuf) \
	tmp/src/D_Constants.$(ObjSuf) \
	tmp/src/VeryForward.$(ObjSuf) \
	tmp/src/HEPEVTConverter.$(ObjSuf) \
	tmp/src/LHEFConverter.$(ObjSuf) \
	tmp/src/CaloUtil.$(ObjSuf) \
	tmp/src/STDHEPConverter.$(ObjSuf) \
	tmp/src/LHCOConverter.$(ObjSuf) \
	tmp/src/TreeClasses.$(ObjSuf) \
	tmp/src/PdgParticle.$(ObjSuf) \
	tmp/src/SmearUtil.$(ObjSuf) \
	tmp/Utilities/ExRootAnalysis/src/ExRootTreeWriter.$(ObjSuf) \
	tmp/Utilities/ExRootAnalysis/src/ExRootTreeReader.$(ObjSuf) \
	tmp/Utilities/ExRootAnalysis/src/ExRootTreeBranch.$(ObjSuf) \
	tmp/Utilities/ExRootAnalysis/src/BlockClasses.$(ObjSuf) \
	tmp/Utilities/ExRootAnalysis/src/ExRootProgressBar.$(ObjSuf) \
	tmp/Utilities/Hector/src/H_RectEllipticAperture.$(ObjSuf) \
	tmp/Utilities/Hector/src/H_BeamParticle.$(ObjSuf) \
	tmp/Utilities/Hector/src/H_SectorDipole.$(ObjSuf) \
	tmp/Utilities/Hector/src/H_RomanPot.$(ObjSuf) \
	tmp/Utilities/Hector/src/H_RecRPObject.$(ObjSuf) \
	tmp/Utilities/Hector/src/H_Drift.$(ObjSuf) \
	tmp/Utilities/Hector/src/H_VerticalKicker.$(ObjSuf) \
	tmp/Utilities/Hector/src/H_OpticalElement.$(ObjSuf) \
	tmp/Utilities/Hector/src/H_HorizontalQuadrupole.$(ObjSuf) \
	tmp/Utilities/Hector/src/H_Beam.$(ObjSuf) \
	tmp/Utilities/Hector/src/H_Quadrupole.$(ObjSuf) \
	tmp/Utilities/Hector/src/H_Dipole.$(ObjSuf) \
	tmp/Utilities/Hector/src/H_RectangularCollimator.$(ObjSuf) \
	tmp/Utilities/Hector/src/H_EllipticAperture.$(ObjSuf) \
	tmp/Utilities/Hector/src/H_HorizontalKicker.$(ObjSuf) \
	tmp/Utilities/Hector/src/H_Kicker.$(ObjSuf) \
	tmp/Utilities/Hector/src/H_TransportMatrices.$(ObjSuf) \
	tmp/Utilities/Hector/src/H_BeamLine.$(ObjSuf) \
	tmp/Utilities/Hector/src/H_Aperture.$(ObjSuf) \
	tmp/Utilities/Hector/src/H_Parameters.$(ObjSuf) \
	tmp/Utilities/Hector/src/H_BeamLineParser.$(ObjSuf) \
	tmp/Utilities/Hector/src/H_VerticalQuadrupole.$(ObjSuf) \
	tmp/Utilities/Hector/src/H_RectangularAperture.$(ObjSuf) \
	tmp/Utilities/Hector/src/H_CircularAperture.$(ObjSuf) \
	tmp/Utilities/Hector/src/H_AbstractBeamLine.$(ObjSuf) \
	tmp/Utilities/Hector/src/H_Marker.$(ObjSuf) \
	tmp/Utilities/Hector/src/H_RectangularDipole.$(ObjSuf) \
	tmp/Utilities/Fastjet/src/ClusterSequenceArea.$(ObjSuf) \
	tmp/Utilities/Fastjet/src/ClusterSequenceVoronoiArea.$(ObjSuf) \
	tmp/Utilities/Fastjet/src/MinHeap.$(ObjSuf) \
	tmp/Utilities/Fastjet/src/ClusterSequence_N2.$(ObjSuf) \
	tmp/Utilities/Fastjet/src/ClusterSequence_TiledN2.$(ObjSuf) \
	tmp/Utilities/Fastjet/src/DnnPlane.$(ObjSuf) \
	tmp/Utilities/Fastjet/src/Dnn4piCylinder.$(ObjSuf) \
	tmp/Utilities/Fastjet/src/ClosestPair2D.$(ObjSuf) \
	tmp/Utilities/Fastjet/src/JetDefinition.$(ObjSuf) \
	tmp/Utilities/Fastjet/src/ClusterSequence_Delaunay.$(ObjSuf) \
	tmp/Utilities/Fastjet/src/ClusterSequence.$(ObjSuf) \
	tmp/Utilities/Fastjet/src/ClusterSequence1GhostPassiveArea.$(ObjSuf) \
	tmp/Utilities/Fastjet/src/PseudoJet.$(ObjSuf) \
	tmp/Utilities/Fastjet/src/Dnn3piCylinder.$(ObjSuf) \
	tmp/Utilities/Fastjet/src/RangeDefinition.$(ObjSuf) \
	tmp/Utilities/Fastjet/src/ClusterSequenceActiveAreaExplicitGhosts.$(ObjSuf) \
	tmp/Utilities/Fastjet/src/Dnn2piCylinder.$(ObjSuf) \
	tmp/Utilities/Fastjet/src/ClusterSequence_DumbN3.$(ObjSuf) \
	tmp/Utilities/Fastjet/src/Error.$(ObjSuf) \
	tmp/Utilities/Fastjet/src/ClusterSequenceAreaBase.$(ObjSuf) \
	tmp/Utilities/Fastjet/src/GhostedAreaSpec.$(ObjSuf) \
	tmp/Utilities/Fastjet/src/AreaDefinition.$(ObjSuf) \
	tmp/Utilities/Fastjet/src/Voronoi.$(ObjSuf) \
	tmp/Utilities/Fastjet/src/ClusterSequenceActiveArea.$(ObjSuf) \
	tmp/Utilities/Fastjet/src/ClusterSequence_CP2DChan.$(ObjSuf) \
	tmp/Utilities/Fastjet/src/ClusterSequencePassiveArea.$(ObjSuf) \
	tmp/Utilities/Fastjet/src/BasicRandom.$(ObjSuf) \
	tmp/Utilities/Fastjet/plugins/CDFCones/CDFMidPointPlugin.$(ObjSuf) \
	tmp/Utilities/Fastjet/plugins/CDFCones/CDFJetCluPlugin.$(ObjSuf) \
	tmp/Utilities/Fastjet/plugins/CDFCones/src/MidPointAlgorithm.$(ObjSuf) \
	tmp/Utilities/Fastjet/plugins/CDFCones/src/Cluster.$(ObjSuf) \
	tmp/Utilities/Fastjet/plugins/CDFCones/src/JetCluAlgorithm.$(ObjSuf) \
	tmp/Utilities/Fastjet/plugins/CDFCones/src/CalTower.$(ObjSuf) \
	tmp/Utilities/Fastjet/plugins/CDFCones/src/Centroid.$(ObjSuf) \
	tmp/Utilities/Fastjet/plugins/CDFCones/src/LorentzVector.$(ObjSuf) \
	tmp/Utilities/Fastjet/plugins/CDFCones/src/PhysicsTower.$(ObjSuf) \
	tmp/Utilities/Fastjet/plugins/CDFCones/src/ClusterComparisons.$(ObjSuf) \
	tmp/Utilities/Fastjet/plugins/SISCone/SISConePlugin.$(ObjSuf) \
	tmp/Utilities/Fastjet/plugins/SISCone/src/siscone_error.$(ObjSuf) \
	tmp/Utilities/Fastjet/plugins/SISCone/src/geom_2d.$(ObjSuf) \
	tmp/Utilities/Fastjet/plugins/SISCone/src/ranlux.$(ObjSuf) \
	tmp/Utilities/Fastjet/plugins/SISCone/src/split_merge.$(ObjSuf) \
	tmp/Utilities/Fastjet/plugins/SISCone/src/area.$(ObjSuf) \
	tmp/Utilities/Fastjet/plugins/SISCone/src/hash.$(ObjSuf) \
	tmp/Utilities/Fastjet/plugins/SISCone/src/vicinity.$(ObjSuf) \
	tmp/Utilities/Fastjet/plugins/SISCone/src/siscone.$(ObjSuf) \
	tmp/Utilities/Fastjet/plugins/SISCone/src/protocones.$(ObjSuf) \
	tmp/Utilities/Fastjet/plugins/SISCone/src/quadtree.$(ObjSuf) \
	tmp/Utilities/Fastjet/plugins/SISCone/src/reference.$(ObjSuf) \
	tmp/Utilities/Fastjet/plugins/SISCone/src/momentum.$(ObjSuf) \
	tmp/Examples/src/Analysis_HWW.$(ObjSuf) \
	tmp/Utilities/HepMC/src/IO_AsciiParticles.$(ObjSuf) \
	tmp/Utilities/HepMC/src/GenRanges.$(ObjSuf) \
	tmp/Utilities/HepMC/src/IO_GenEvent.$(ObjSuf) \
	tmp/Utilities/HepMC/src/GenEventStreamIO.$(ObjSuf) \
	tmp/Utilities/HepMC/src/GenParticle.$(ObjSuf) \
	tmp/Utilities/HepMC/src/Flow.$(ObjSuf) \
	tmp/Utilities/HepMC/src/Units.$(ObjSuf) \
	tmp/Utilities/HepMC/src/CompareGenEvent.$(ObjSuf) \
	tmp/Utilities/HepMC/src/HeavyIon.$(ObjSuf) \
	tmp/Utilities/HepMC/src/PdfInfo.$(ObjSuf) \
	tmp/Utilities/HepMC/src/WeightContainer.$(ObjSuf) \
	tmp/Utilities/HepMC/src/StreamInfo.$(ObjSuf) \
	tmp/Utilities/HepMC/src/GenEvent.$(ObjSuf) \
	tmp/Utilities/HepMC/src/GenCrossSection.$(ObjSuf) \
	tmp/Utilities/HepMC/src/SearchVector.$(ObjSuf) \
	tmp/Utilities/HepMC/src/filterEvent.$(ObjSuf) \
	tmp/Utilities/HepMC/src/StreamHelpers.$(ObjSuf) \
	tmp/Utilities/HepMC/src/GenVertex.$(ObjSuf) \
	tmp/Utilities/HepMC/src/Polarization.$(ObjSuf)

tmp/Utilities/mcfio/mcf_NTuIOFiles.$(ObjSuf): \
	Utilities/mcfio/mcf_NTuIOFiles.c
tmp/Utilities/mcfio/mcfio_Util1.$(ObjSuf): \
	Utilities/mcfio/mcfio_Util1.c
tmp/Utilities/mcfio/mcf_ntuBldDbinc.$(ObjSuf): \
	Utilities/mcfio/mcf_ntuBldDbinc.c
tmp/Utilities/mcfio/mcfio_SeqDummy.$(ObjSuf): \
	Utilities/mcfio/mcfio_SeqDummy.c
tmp/Utilities/mcfio/mcf_ntubldInit.$(ObjSuf): \
	Utilities/mcfio/mcf_ntubldInit.c
tmp/Utilities/mcfio/mcf_NTuIOUtils.$(ObjSuf): \
	Utilities/mcfio/mcf_NTuIOUtils.c
tmp/Utilities/mcfio/mcfio_UserDictionary.$(ObjSuf): \
	Utilities/mcfio/mcfio_UserDictionary.c
tmp/Utilities/mcfio/mcfio_Direct.$(ObjSuf): \
	Utilities/mcfio/mcfio_Direct.c
tmp/Utilities/mcfio/mcfio_Block.$(ObjSuf): \
	Utilities/mcfio/mcfio_Block.c
tmp/Utilities/mcfio/mcf_evt_xdr.$(ObjSuf): \
	Utilities/mcfio/mcf_evt_xdr.c
tmp/Utilities/stdhep/mcf_hepev4_xdr.$(ObjSuf): \
	Utilities/stdhep/mcf_hepev4_xdr.c \
	Utilities/mcfio/mcfio_Dict.h \
	Utilities/mcfio/mcf_xdr.h \
	Utilities/stdhep/stdhep.h \
	Utilities/stdhep/hepev4.h \
	Utilities/stdhep/stdtmp.h \
	Utilities/stdhep/stdver.h
tmp/Utilities/stdhep/mcf_Stdhep_xdr.$(ObjSuf): \
	Utilities/stdhep/mcf_Stdhep_xdr.c \
	Utilities/mcfio/mcfio_Dict.h \
	Utilities/mcfio/mcf_xdr.h \
	Utilities/stdhep/stdhep.h \
	Utilities/stdhep/stdtmp.h \
	Utilities/stdhep/stdver.h
tmp/Utilities/stdhep/mcf_stdcm1_xdr.$(ObjSuf): \
	Utilities/stdhep/mcf_stdcm1_xdr.c \
	Utilities/mcfio/mcfio_Dict.h \
	Utilities/mcfio/mcf_xdr.h \
	Utilities/stdhep/stdcm1.h \
	Utilities/stdhep/stdver.h
tmp/Utilities/stdhep/stdhep_internal_utils.$(ObjSuf): \
	Utilities/stdhep/stdhep_internal_utils.c \
	Utilities/stdhep/stdhep.h \
	Utilities/stdhep/hepev4.h \
	Utilities/stdhep/stdtmp.h \
	Utilities/stdhep/hepeup.h
tmp/Utilities/stdhep/mcf_hepup_xdr.$(ObjSuf): \
	Utilities/stdhep/mcf_hepup_xdr.c \
	Utilities/mcfio/mcfio_Dict.h \
	Utilities/mcfio/mcf_xdr.h \
	Utilities/stdhep/hepeup.h \
	Utilities/stdhep/heprup.h \
	Utilities/stdhep/stdver.h
tmp/Utilities/stdhep/stdhep_mcfio.$(ObjSuf): \
	Utilities/stdhep/stdhep_mcfio.c \
	Utilities/mcfio/mcf_xdr.h \
	Utilities/mcfio/mcfio_Block.h \
	Utilities/mcfio/mcfio_Dict.h \
	Utilities/mcfio/mcfio_Direct.h \
	Utilities/mcfio/mcfio_Util1.h \
	Utilities/stdhep/stdhep.h \
	Utilities/stdhep/hepev4.h \
	Utilities/stdhep/hepeup.h \
	Utilities/stdhep/heprup.h \
	Utilities/stdhep/stdtmp.h \
	Utilities/stdhep/stdhd.h \
	Utilities/stdhep/stdcnt.h \
	Utilities/stdhep/stdhep_mcfio.h
STDHEP_OBJ =  \
	tmp/Utilities/mcfio/mcf_NTuIOFiles.$(ObjSuf) \
	tmp/Utilities/mcfio/mcfio_Util1.$(ObjSuf) \
	tmp/Utilities/mcfio/mcf_ntuBldDbinc.$(ObjSuf) \
	tmp/Utilities/mcfio/mcfio_SeqDummy.$(ObjSuf) \
	tmp/Utilities/mcfio/mcf_ntubldInit.$(ObjSuf) \
	tmp/Utilities/mcfio/mcf_NTuIOUtils.$(ObjSuf) \
	tmp/Utilities/mcfio/mcfio_UserDictionary.$(ObjSuf) \
	tmp/Utilities/mcfio/mcfio_Direct.$(ObjSuf) \
	tmp/Utilities/mcfio/mcfio_Block.$(ObjSuf) \
	tmp/Utilities/mcfio/mcf_evt_xdr.$(ObjSuf) \
	tmp/Utilities/stdhep/mcf_hepev4_xdr.$(ObjSuf) \
	tmp/Utilities/stdhep/mcf_Stdhep_xdr.$(ObjSuf) \
	tmp/Utilities/stdhep/mcf_stdcm1_xdr.$(ObjSuf) \
	tmp/Utilities/stdhep/stdhep_internal_utils.$(ObjSuf) \
	tmp/Utilities/stdhep/mcf_hepup_xdr.$(ObjSuf) \
	tmp/Utilities/stdhep/stdhep_mcfio.$(ObjSuf)

Examples/interface/Analysis_HWW.h: \
	Utilities/ExRootAnalysis/interface/ExRootTreeReader.h \
	Utilities/ExRootAnalysis/interface/ExRootTreeWriter.h \
	Utilities/ExRootAnalysis/interface/ExRootTreeBranch.h \
	Utilities/ExRootAnalysis/interface/TSimpleArray.h \
	Examples/interface/LeptonPair.h \
	Utilities/ExRootAnalysis/interface/BlockClasses.h
	@touch $@

interface/TreeClasses.h: \
	Utilities/ExRootAnalysis/interface/BlockCompare.h \
	Utilities/ExRootAnalysis/interface/BlockClasses.h
	@touch $@

Utilities/Fastjet/include/fastjet/Error.hh: \
	Utilities/Fastjet/include/fastjet/internal/base.hh
	@touch $@

Utilities/Fastjet/include/fastjet/ClusterSequence.hh: \
	Utilities/Fastjet/include/fastjet/internal/DynamicNearestNeighbours.hh \
	Utilities/Fastjet/include/fastjet/PseudoJet.hh \
	Utilities/Fastjet/include/fastjet/Error.hh \
	Utilities/Fastjet/include/fastjet/JetDefinition.hh
	@touch $@

Utilities/ExRootAnalysis/interface/BlockClasses.h: \
	interface/D_Constants.h \
	interface/CaloUtil.h
	@touch $@



###

all: $(SHARED) $(EXECUTABLE) $(STDHEP_EXECUTABLE)
	@echo "Delphes has been compiled"
	@echo "Ready to run"

$(SHARED): $(DICT_OBJ) $(SOURCE_OBJ) $(STDHEP_OBJ)
	@mkdir -p $(@D)
	@echo ">> Building $@"
ifeq ($(ARCH),aix)
	@/usr/ibmcxx/bin/makeC++SharedLib $(OutPutOpt) $@ $(LIBS) -p 0 $^
else
ifeq ($(ARCH),aix5)
	@/usr/vacpp/bin/makeC++SharedLib $(OutPutOpt) $@ $(LIBS) -p 0 $^
else
ifeq ($(PLATFORM),macosx)
# We need to make both the .dylib and the .so
	@$(LD) $(SOFLAGS) $^ $(OutPutOpt) $@
	@$(LD) -bundle -undefined $(UNDEFOPT) $(LDFLAGS) $^ $(LIBS) $(OutPutOpt) $(subst .$(DllSuf),.so,$@)
else
ifeq ($(PLATFORM),win32)
	@bindexplib $* $^ > $*.def
	@lib -nologo -MACHINE:IX86 $^ -def:$*.def $(OutPutOpt)$(EVENTLIB)
	@$(LD) $(SOFLAGS) $(LDFLAGS) $^ $*.exp $(LIBS) $(OutPutOpt)$@
	@$(MT_DLL)
else
	@$(LD) $(SOFLAGS) $(LDFLAGS) $^ $(OutPutOpt) $@ $(EXPLLINKLIBS)
	@$(MT_DLL)
endif
endif
endif
endif

clean:
	@rm -f $(DICT_OBJ) $(SOURCE_OBJ) $(STDHEP_OBJ) core

distclean: clean
	@rm -f $(SHARED) $(EXECUTABLE) $(STDHEP_EXECUTABLE) *vis *geom 
	@rm -rf tmp


###

.SUFFIXES: .$(SrcSuf) .$(ObjSuf) .$(DllSuf)

%Dict.$(SrcSuf):
	@mkdir -p $(@D)
	@echo ">> Generating $@"
	@rootcint -f $@ -c $<
	@echo "#define private public" > $@.arch
	@echo "#define protected public" >> $@.arch
	@mv $@ $@.base
	@cat $@.arch $< $@.base > $@
	@rm $@.arch $@.base

$(SOURCE_OBJ): tmp/%.$(ObjSuf): %.$(SrcSuf)
	@mkdir -p $(@D)
	@echo ">> Compiling $<"
	@$(CXX) $(CXXFLAGS) -c $< $(OutPutOpt)$@

$(DICT_OBJ): %.$(ObjSuf): %.$(SrcSuf)
	@mkdir -p $(@D)
	@echo ">> Compiling $<"
	@$(CXX) $(CXXFLAGS) -c $< $(OutPutOpt)$@

$(STDHEP_OBJ): tmp/%.$(ObjSuf): %.c
	@mkdir -p $(@D)
	@echo ">> Compiling $<"
	@gcc $(CXXFLAGS) -c $< $(OutPutOpt)$@

$(STDHEP_EXECUTABLE_OBJ): tmp/%.$(ObjSuf): %.cpp
	@mkdir -p $(@D)
	@echo ">> Compiling $<"
	@$(CXX) $(CXXFLAGS) -c $< $(OutPutOpt)$@

$(EXECUTABLE_OBJ): tmp/%.$(ObjSuf): %.cpp
	@mkdir -p $(@D)
	@echo ">> Compiling $<"
	@$(CXX) $(CXXFLAGS) -c $< $(OutPutOpt)$@

$(EXECUTABLE): %$(ExeSuf): $(DICT_OBJ) $(SOURCE_OBJ) $(STDHEP_OBJ)
	@echo ">> Building $@"
	@$(LD) $(LDFLAGS) $^ $(LIBS) $(OutPutOpt)$@

###

tar $(TARBALL):
	@echo Building tarball of sources
	@mkdir $(FOLDER)
	@rsync -qavztup --exclude=CVS* CREDITS VERSION CHANGELOG FAQ Delphes.cpp Resolutions.cpp Resolutions_ATLAS.cpp Makefile rootlogon.C genMakefile.tcl interface lib routines src data Examples Utilities configure $(FOLDER)
	@rm -f $(FOLDER)/$(SHARED)
	@tar czf $(TARBALL) $(FOLDER)
	@rm -rf $(FOLDER)
	@mkdir $(FOLDER)
	@cp tt_jj_small.hep TEST_small_tt.list $(FOLDER)
	@tar czf $(TESTFILE).tar.gz $(FOLDER)
	@rm -rf $(FOLDER)
	@echo Done : `ls $(TARBALL) $(TESTFILE).tar.gz`

Change History (2)

comment:1 by favereau, 12 years ago

Description: modified (diff)

comment:2 by favereau, 12 years ago

Resolution: fixed
Status: newclosed

I believe this is solved now, please reopen if needed

Note: See TracTickets for help on using tickets.