-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
executable file
·69 lines (47 loc) · 1.9 KB
/
Copy pathMakefile
File metadata and controls
executable file
·69 lines (47 loc) · 1.9 KB
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
CC=g++ -g -fPIC -Wall -O -ansi -D_GNU_SOURCE -O3 -m64
ROOTFLAG = `${ROOTSYS}/bin/root-config --cflags`
LIB=`${ROOTSYS}/bin/root-config --libs`
GLIB=`${ROOTSYS}/bin/root-config --glibs`
OBJECTS=AnaInput.o MathTools.o hDraw.o Histogram.o Rtuple.o DPSelection.o TestGen.o HaloStudy.o SpikeStudy.o CosmicStudy.o QCDStudy.o BackgroundStudy.o Trigger.o Output.o Systematic.o GenAna.o Tester.o
all:test.exe
AnaInput.o : AnaInput.cc AnaInput.h
$(CC) -c -o $@ $< $(ROOTFLAG) $(LIB)
MathTools.o : MathTools.cc MathTools.h
$(CC) -c -o $@ $< $(ROOTFLAG) $(LIB)
hDraw.o : hDraw.cc hDraw.h
$(CC) -c -o $@ $< $(ROOTFLAG) $(LIB)
Histogram.o : Histogram.cc Histogram.h
$(CC) -c -o $@ $< $(ROOTFLAG) $(LIB)
Rtuple.o : Rtuple.cc Rtuple.h
$(CC) -c -o $@ $< $(ROOTFLAG) $(LIB)
DPSelection.o : DPSelection.cc DPSelection.h
$(CC) -c -o $@ $< $(ROOTFLAG) $(LIB)
#TestGen.o : TestGen.cc TestGen.h Histogram.h
TestGen.o : TestGen.cc TestGen.h
$(CC) -c -o $@ $< $(ROOTFLAG) $(LIB)
#Background.o : Background.cc Background.h
# $(CC) -c -o $@ $< $(ROOTFLAG) $(LIB)
HaloStudy.o : HaloStudy.cc HaloStudy.h
$(CC) -c -o $@ $< $(ROOTFLAG) $(LIB)
SpikeStudy.o : SpikeStudy.cc SpikeStudy.h
$(CC) -c -o $@ $< $(ROOTFLAG) $(LIB)
CosmicStudy.o : CosmicStudy.cc CosmicStudy.h
$(CC) -c -o $@ $< $(ROOTFLAG) $(LIB)
QCDStudy.o : QCDStudy.cc QCDStudy.h
$(CC) -c -o $@ $< $(ROOTFLAG) $(LIB)
BackgroundStudy.o : BackgroundStudy.cc BackgroundStudy.h
$(CC) -c -o $@ $< $(ROOTFLAG) $(LIB)
Trigger.o : Trigger.cc Trigger.h
$(CC) -c -o $@ $< $(ROOTFLAG) $(LIB)
Output.o : Output.cc Output.h
$(CC) -c -o $@ $< $(ROOTFLAG) $(LIB)
Systematic.o : Systematic.cc Systematic.h
$(CC) -c -o $@ $< $(ROOTFLAG) $(LIB)
GenAna.o : GenAna.cc GenAna.h
$(CC) -c -o $@ $< $(ROOTFLAG) $(LIB)
Tester.o : Tester.cc Tester.h
$(CC) -c -o $@ $< $(ROOTFLAG) $(LIB)
test.exe : main.cc $(OBJECTS)
$(CC) -o $@ $< $(OBJECTS) $(ROOTFLAG) $(LIB) $(GLIB)
clean :
rm -rf *.o test.exe