Fork me on GitHub

Changeset 5b5a56b in git for Makefile


Ignore:
Timestamp:
Aug 28, 2014, 2:41:46 PM (10 years ago)
Author:
Pavel Demin <pavel.demin@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
35cdc46, 640d6d3, d2f86fe, e2a76ae
Parents:
be6c1c8
Message:

add make rules for _rdict.pcm files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    rbe6c1c8 r5b5a56b  
    1010include doc/Makefile.arch
    1111
    12 ifeq ($(ARCH),macosx64)
    13 UNDEFOPT = dynamic_lookup
    14 endif
     12ROOT_MAJOR := $(shell $(RC) --version | cut -d'.' -f1)
    1513
    1614SrcSuf = cc
     15PcmSuf = _rdict.pcm
    1716
    1817CXXFLAGS += $(ROOTCFLAGS) -Wno-write-strings -D_FILE_OFFSET_BITS=64 -DDROP_CGAL -I. -Iexternal -Iexternal/tcl
     
    292291        modules/Pythia8LinkDef.h \
    293292        modules/PileUpMergerPythia8.h
     293Pythia8Dict$(PcmSuf): \
     294        tmp/modules/Pythia8Dict$(PcmSuf) \
     295        tmp/modules/Pythia8Dict.$(SrcSuf)
    294296DELPHES_DICT +=  \
    295297        tmp/modules/Pythia8Dict.$(SrcSuf)
     
    297299DELPHES_DICT_OBJ +=  \
    298300        tmp/modules/Pythia8Dict.$(ObjSuf)
     301
     302DELPHES_DICT_PCM +=  \
     303        Pythia8Dict$(PcmSuf)
    299304
    300305endif
     
    306311        classes/SortableObject.h \
    307312        classes/DelphesClasses.h
     313ClassesDict$(PcmSuf): \
     314        tmp/classes/ClassesDict$(PcmSuf) \
     315        tmp/classes/ClassesDict.$(SrcSuf)
    308316tmp/modules/ModulesDict.$(SrcSuf): \
    309317        modules/ModulesLinkDef.h \
     
    337345        modules/Hector.h \
    338346        modules/ExampleModule.h
     347ModulesDict$(PcmSuf): \
     348        tmp/modules/ModulesDict$(PcmSuf) \
     349        tmp/modules/ModulesDict.$(SrcSuf)
    339350tmp/external/ExRootAnalysis/ExRootAnalysisDict.$(SrcSuf): \
    340351        external/ExRootAnalysis/ExRootAnalysisLinkDef.h \
     
    349360        external/ExRootAnalysis/ExRootConfReader.h \
    350361        external/ExRootAnalysis/ExRootTask.h
     362ExRootAnalysisDict$(PcmSuf): \
     363        tmp/external/ExRootAnalysis/ExRootAnalysisDict$(PcmSuf) \
     364        tmp/external/ExRootAnalysis/ExRootAnalysisDict.$(SrcSuf)
    351365DELPHES_DICT +=  \
    352366        tmp/classes/ClassesDict.$(SrcSuf) \
     
    359373        tmp/external/ExRootAnalysis/ExRootAnalysisDict.$(ObjSuf)
    360374
     375DELPHES_DICT_PCM +=  \
     376        ClassesDict$(PcmSuf) \
     377        ModulesDict$(PcmSuf) \
     378        ExRootAnalysisDict$(PcmSuf)
     379
    361380tmp/display/DisplayDict.$(SrcSuf): \
    362381        display/DisplayLinkDef.h \
    363382        display/DelphesDisplay.h \
    364383        display/DelphesCaloData.h
     384DisplayDict$(PcmSuf): \
     385        tmp/display/DisplayDict$(PcmSuf) \
     386        tmp/display/DisplayDict.$(SrcSuf)
    365387DISPLAY_DICT +=  \
    366388        tmp/display/DisplayDict.$(SrcSuf)
     
    368390DISPLAY_DICT_OBJ +=  \
    369391        tmp/display/DisplayDict.$(ObjSuf)
     392
     393DISPLAY_DICT_PCM +=  \
     394        DisplayDict$(PcmSuf)
    370395
    371396tmp/classes/DelphesHepMCReader.$(ObjSuf): \
     
    16441669###
    16451670
     1671ifeq ($(ROOT_MAJOR),6)
     1672all: $(DELPHES) $(DELPHES_DICT_PCM) $(EXECUTABLE)
     1673display: $(DISPLAY) $(DISPLAY_DICT_PCM)
     1674else
    16461675all: $(DELPHES) $(EXECUTABLE)
    1647 
    16481676display: $(DISPLAY)
     1677endif
    16491678
    16501679$(DELPHES): $(DELPHES_DICT_OBJ) $(DELPHES_OBJ) $(TCL_OBJ)
     
    17071736
    17081737distclean: clean
    1709         @rm -f $(DELPHES) $(DELPHESLIB) $(DISPLAY) $(DISPLAYLIB) $(EXECUTABLE)
     1738        @rm -f $(DELPHES) $(DELPHESLIB) $(DELPHES_DICT_PCM) $(DISPLAY) $(DISPLAYLIB) $(DISPLAY_DICT_PCM) $(EXECUTABLE)
    17101739
    17111740dist:
     
    17191748###
    17201749
    1721 .SUFFIXES: .$(SrcSuf) .$(ObjSuf) .$(DllSuf)
     1750.SUFFIXES: .$(SrcSuf) .$(ObjSuf) .$(DllSuf) $(PcmSuf)
    17221751
    17231752%Dict.$(SrcSuf):
     
    17311760        @rm $@.arch $@.base
    17321761
     1762%Dict$(PcmSuf):
     1763        @echo ">> Copying $@"
     1764        @cp $< $@
     1765
    17331766$(DELPHES_OBJ): tmp/%.$(ObjSuf): %.$(SrcSuf)
    17341767        @mkdir -p $(@D)
Note: See TracChangeset for help on using the changeset viewer.