1 |
khahn |
1.1 |
################### Paths #############################
|
2 |
khahn |
1.7 |
CMSSW_LIB_DIR=$(CMSSW_BASE)/lib/$(SCRAM_ARCH)
|
3 |
khahn |
1.5 |
CMSSW_SRC_DIR=$(CMSSW_BASE)/src
|
4 |
|
|
|
5 |
khahn |
1.9 |
MIT_INC=-I $(CMSSW_SRC_DIR)/MitAna/DataTree/interface -I $(CMSSW_SRC_DIR)/MitAna/TreeMod/interface -I $(CMSSW_SRC_DIR)/MitPhysics/Utils/interface -I $(CMSSW_SRC_DIR)/MitCommon/MathTools/interface -I $(CMSSW_SRC_DIR)/MitAna/DataCont/interface
|
6 |
|
|
MIT_LIB=-lMitAnaDataTree -lMitAnaTreeMod -lMitPhysicsUtils -l MitAnaDataCont
|
7 |
khahn |
1.7 |
# include these for 5_2_3 ...
|
8 |
anlevin |
1.13 |
MIT_LIB += -lMitAnaDataCont -lMitCommonDataFormats -lMitCommonMathTools -l GenVector
|
9 |
khahn |
1.1 |
|
10 |
dkralph |
1.2 |
NTUPLE_PATH=$(CMSSW_SRC)/MitHtt/NtupleDefs/
|
11 |
khahn |
1.1 |
NTUPLE_INC=$(NTUPLE_PATH)/interface
|
12 |
|
|
|
13 |
dkralph |
1.2 |
#BOOST_INC=`echo ${CMSSW_FWLITE_INCLUDE_PATH} | sed 's@.*\(/afs/cern.ch/cms/slc5_amd64_gcc434/external/boost/[-0-9.cms][-0-9.cms]*/include\):.*@\1@'`
|
14 |
khahn |
1.5 |
BOOST_INC=-I /afs/cern.ch/cms/slc5_amd64_gcc434/external/boost/1.44.0-cms3/include
|
15 |
khahn |
1.1 |
##################################################################
|
16 |
|
|
|
17 |
|
|
################### Compiler ######################################
|
18 |
khahn |
1.5 |
export CC= g++ -O2 -g
|
19 |
khahn |
1.14 |
export CCFLAGS= -D SYNC -D HACKED_RHOS `root-config --cflags` -I /usr/include -I $(CMSSW_SRC_DIR) $(BOOST_INC) $(MIT_INC)
|
20 |
khahn |
1.5 |
export LDFLAGS= -L $(CMSSW_LIB_DIR) `root-config --libs` -L $(CMSSW_LIB_DIR) $(MIT_LIB)
|
21 |
khahn |
1.1 |
export VPATH = $(PWD)/src:$(PWD)/interface:$(NTUPLE_INC)
|
22 |
|
|
##################################################################
|
23 |
|
|
#export NTUPLE_INC
|
24 |
|
|
#export CMSSW_LIB
|
25 |
|
|
#export CMSSW_SRC
|
26 |
|
|
|
27 |
anlevin |
1.12 |
export HAVE_MAKEDEFS=1
|