forked from acarvalh/Limit_codes
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
24 lines (19 loc) · 990 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
CC = g++
#CCFLAGS = -Wall -g
CCFLAGS = -Wall -O2
SOURCES =
ROOTFLAGS = `root-config --cflags`
ROOTLIBS = `root-config --libs --ldflags`
ROOFITLIBS = -lRooFit -lRooFitCore -lMinuit -lFoam -I${ROOFITSYS}include -L${ROOFITSYS}lib
ROOSTATSLIBS = -lRooStats -I${ROOFITSYS}include/RooStats/
# boost
BOOSTFLAGS = -I${BOOST_ROOT}include/boost-1_48
BOOSTLIBS = -L${BOOST_ROOT}lib -lboost_program_options-gcc43-mt-1_48
TMVA = -L${ROOTSYS}lib -lTMVA
all: R2GGBBFitter_mgg_addhiggs.exe R2GGBBFitter_2D_addhiggs.exe
R2GGBBFitter_mgg_addhiggs.exe: R2GGBBFitter_mgg_addhiggs.cc
$(CC) $(CCFLAGS) $(ROOTFLAGS) $(ROOTLIBS) $(ROOSTATSLIBS) $(ROOFITLIBS) $(BOOSTFLAGS) $(BOOSTLIBS) R2GGBBFitter_mgg_addhiggs.cc -o R2GGBBFitter_mgg_addhiggs.exe
R2GGBBFitter_2D_addhiggs.exe: R2GGBBFitter_2D_addhiggs.cc
$(CC) $(CCFLAGS) $(ROOTFLAGS) $(ROOTLIBS) $(ROOSTATSLIBS) $(ROOFITLIBS) $(BOOSTFLAGS) $(BOOSTLIBS) R2GGBBFitter_2D_addhiggs.cc -o R2GGBBFitter_2D_addhiggs.exe
clean:
rm *.exe