Last change
on this file since 1153 was 1148, checked in by Pavel Demin, 11 years ago |
fix ProMC includes and check PROMC variable
|
File size:
437 bytes
|
Rev | Line | |
---|
[1148] | 1 | #!/bin/sh
|
---|
[1140] | 2 |
|
---|
[1148] | 3 | if [ -z "$PROMC" ]
|
---|
| 4 | then
|
---|
| 5 | echo "** ERROR: PROMC variable is not set. Is ProMC installed?"
|
---|
| 6 | else
|
---|
| 7 | echo ">> PROMC is set to $PROMC"
|
---|
| 8 | echo ">> Building DelphesProMC";
|
---|
[1140] | 9 |
|
---|
[1148] | 10 | INC="-I$PROMC/include -I$PROMC/src"
|
---|
[1140] | 11 |
|
---|
[1148] | 12 | LIB="$PROMC/src/*.cc -L$PROMC/lib -lprotoc -lprotobuf -lprotobuf-lite -lcbook -lz"
|
---|
[1140] | 13 |
|
---|
[1148] | 14 | g++ -I. -Iexternal $INC `root-config --cflags --ldflags --libs` -lEG -L. -lDelphes $LIB -o DelphesProMC examples/DelphesProMC.cpp
|
---|
| 15 | fi
|
---|
Note:
See
TracBrowser
for help on using the repository browser.