Fork me on GitHub

Changeset c466459 in git for doc/genMakefile.tcl


Ignore:
Timestamp:
Jul 4, 2013, 1:35:38 AM (11 years ago)
Author:
pavel <pavel@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
cf14ea5
Parents:
c41c262
Message:

fix genMakefile and PileUpMergerPythia8

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/genMakefile.tcl

    rc41c262 rc466459  
    107107  puts ""
    108108 
    109   puts {ifneq ($(PYTHIA8),)}
     109  puts {ifeq ($(HAS_PYTHIA8),true)}
    110110  puts -nonewline "${srcPrefix}_OBJ += $suffix"
    111111  puts [join $srcObjFilesPythia8 $suffix]
     
    204204
    205205ifneq ($(PYTHIA8),)
     206HAS_PYTHIA8 = true
    206207CXXFLAGS += -DHAS_PYTHIA8 -I$(PYTHIA8)/include
    207 DELPHES_LIBS += -L$(PYTHIA8)/lib/archive -lpythia8 -llhapdfdummy
     208DELPHES_LIBS += -L$(PYTHIA8)/lib -lpythia8 -llhapdfdummy
     209else
     210ifneq ($(PYTHIA8DATA),)
     211HAS_PYTHIA8 = true
     212CXXFLAGS += -DHAS_PYTHIA8 -I$(PYTHIA8DATA)/../include
     213DELPHES_LIBS += -L$(PYTHIA8DATA)/../lib -lpythia8 -llhapdfdummy
     214endif
    208215endif
    209216
     
    322329        @mkdir -p $(@D)
    323330        @echo ">> Generating $@"
    324         @rootcint -f $@ -c -Iexternal $<
     331        @rootcint -f $@ -c $(CXXFLAGS) $<
    325332        @echo "#define private public" > $@.arch
    326333        @echo "#define protected public" >> $@.arch
Note: See TracChangeset for help on using the changeset viewer.