forked from eic/epic-analysis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.mk
38 lines (31 loc) · 926 Bytes
/
config.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# compiler and flags
CXX = g++
FLAGS = -g -Wno-deprecated -fPIC -fno-inline -Wno-write-strings
FLAGS += -fmax-errors=3
# extra flags for Mac OS
UNAME := $(shell uname)
ifeq ($(UNAME), Darwin)
FLAGS += -std=c++11
endif
# extra flags for valgrind
#FLAGS += -O0
# ROOT
DEPS = -I$(shell root-config --incdir)
LIBS = $(shell root-config --glibs)
#LIBS += -lMinuit -lRooFitCore -lRooFit -lRooStats -lProof -lMathMore
# DELPHES
DEPS += -I${DELPHES_HOME} -I${DELPHES_HOME}/external
LIBS += -L${DELPHES_HOME} -lDelphes
# MSTWPDF
DEPS += -I${MSTWPDF_HOME}
LIBS += -L${MSTWPDF_HOME} -lmstwpdf
# Fastjet Centauro
INCCENTAURO = 0
ifeq ($(INCCENTAURO),1)
LIBS+= -L${DELPHES_HOME}/external/fastjet/plugins/Centauro -lCentauro
DEPS+= -I${DELPHES_HOME}/external/fastjet/plugins/Centauro
endif
FLAGS += -DINCCENTAURO=$(INCCENTAURO)
# shared object name and source directory
SIDIS-EIC = Sidis-eic
SIDIS-EIC-OBJ := lib$(SIDIS-EIC).so