Fork me on GitHub

Changes in Makefile [9189af2:36fb740] in git


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    r9189af2 r36fb740  
    8989DISPLAYLIB = libDelphesDisplay.lib
    9090
    91 VERSION = x.y.z
     91VERSION = $(shell cat VERSION)
    9292DISTDIR = Delphes-$(VERSION)
    9393DISTTAR = $(DISTDIR).tar.gz
     
    174174tmp/examples/Example1.$(ObjSuf): \
    175175        examples/Example1.cpp \
     176        classes/DelphesClasses.h \
     177        external/ExRootAnalysis/ExRootResult.h \
     178        external/ExRootAnalysis/ExRootTreeBranch.h \
     179        external/ExRootAnalysis/ExRootTreeReader.h \
     180        external/ExRootAnalysis/ExRootTreeWriter.h \
     181        external/ExRootAnalysis/ExRootUtilities.h
     182DelphesValidation$(ExeSuf): \
     183        tmp/validation/DelphesValidation.$(ObjSuf)
     184
     185tmp/validation/DelphesValidation.$(ObjSuf): \
     186        validation/DelphesValidation.cpp \
    176187        classes/DelphesClasses.h \
    177188        external/ExRootAnalysis/ExRootResult.h \
     
    188199        stdhep2pileup$(ExeSuf) \
    189200        CaloGrid$(ExeSuf) \
    190         Example1$(ExeSuf)
     201        Example1$(ExeSuf) \
     202        DelphesValidation$(ExeSuf)
    191203
    192204EXECUTABLE_OBJ +=  \
     
    198210        tmp/converters/stdhep2pileup.$(ObjSuf) \
    199211        tmp/examples/CaloGrid.$(ObjSuf) \
    200         tmp/examples/Example1.$(ObjSuf)
     212        tmp/examples/Example1.$(ObjSuf) \
     213        tmp/validation/DelphesValidation.$(ObjSuf)
    201214
    202215DelphesHepMC$(ExeSuf): \
     
    24212434        @echo ">> Building $(DISTTAR)"
    24222435        @mkdir -p $(DISTDIR)
    2423         @cp -a AUTHORS CHANGELOG CMakeLists.txt COPYING DelphesEnv.sh LICENSE NOTICE README README_4LHCb Makefile MinBias.pileup configure cards classes converters display doc examples external modules python readers validation $(DISTDIR)
     2436        @cp -a AUTHORS CHANGELOG CMakeLists.txt COPYING DelphesEnv.sh LICENSE NOTICE README README_4LHCb VERSION Makefile MinBias.pileup configure cards classes converters display doc examples external modules python readers validation $(DISTDIR)
    24242437        @find $(DISTDIR) -depth -name .\* -exec rm -rf {} \;
    24252438        @tar -czf $(DISTTAR) $(DISTDIR)
Note: See TracChangeset for help on using the changeset viewer.