Fork me on GitHub

Changeset be7697b in git for examples/DelphesProMC.sh


Ignore:
Timestamp:
Jun 25, 2013, 9:41:18 PM (11 years ago)
Author:
pavel <pavel@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
3d24148
Parents:
2f82259
Message:

fix ProMC includes and check PROMC variable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • examples/DelphesProMC.sh

    r2f82259 rbe7697b  
     1#!/bin/sh
    12
    2 INC="-I$PROMC/include -I$PROMC/src"
     3if [ -z "$PROMC" ]
     4then
     5  echo "** ERROR: PROMC variable is not set. Is ProMC installed?"
     6else
     7  echo ">> PROMC is set to $PROMC"
     8  echo ">> Building DelphesProMC";
    39
    4 LIB="$PROMC/src/*.cc -L$PROMC/lib -lprotoc -lprotobuf -lprotobuf-lite -lcbook -lz"
     10  INC="-I$PROMC/include -I$PROMC/src"
    511
    6 g++ -I. -Iexternal $INC `root-config --cflags --ldflags --libs` -lEG -L. -lDelphes $LIB -o DelphesProMC examples/DelphesProMC.cpp
     12  LIB="$PROMC/src/*.cc -L$PROMC/lib -lprotoc -lprotobuf -lprotobuf-lite -lcbook -lz"
    713
     14  g++ -I. -Iexternal $INC `root-config --cflags --ldflags --libs` -lEG -L. -lDelphes $LIB -o DelphesProMC examples/DelphesProMC.cpp
     15fi
Note: See TracChangeset for help on using the changeset viewer.