SDigits has become a copy of hits and threshold to associate primary particles has...
[u/mrichter/AliRoot.git] / EMCAL / Makefile
CommitLineData
2012850d 1############################### EMCAL Makefile #################################
2
3# Include machine specific definitions
4
5include $(ALICE_ROOT)/conf/GeneralDef
6include $(ALICE_ROOT)/conf/MachineDef.$(ALICE_TARGET)
7
8PACKAGE = EMCAL
9
10# C++ sources
11
b13bbe81 12SRCS = AliEMCAL.cxx AliEMCALGeometry.cxx AliEMCALv0.cxx \
61e0abb5 13 AliEMCALv1.cxx AliEMCALHit.cxx AliEMCALDigit.cxx \
471f69dc 14 AliEMCALSDigitizer.cxx AliEMCALDigitizer.cxx \
15 AliEMCALGetter.cxx \
16 AliEMCALJetFinder.cxx AliEMCALJet.cxx AliEMCALFast.cxx \
55acd4fc 17 AliEMCALGetter.cxx AliEMCALTick.cxx \
18 AliEMCALHadronCorrection.cxx AliEMCALHadronCorrectionv0.cxx
19# AliEMCALRecPoint.cxx AliEMCALEmcRecPoint.cxx AliEMCALClusterizer.cxx
471f69dc 20
21# FORTRAN sources
22
23FSRCS = jet_finder_ua1.F
24
2012850d 25# C++ Headers
26
27HDRS = $(SRCS:.cxx=.h) $(ROOTSYS)/include/TTree.h EMCALLinkDef.h
28
29# Library dictionary
30
31DICT = EMCALCint.cxx
32DICTH = $(DICT:.cxx=.h)
33DICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
34
35# C++ Objects
36
37OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
38
471f69dc 39# FORTRAN Objects
40FOBJS = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(FSRCS))
2012850d 41# C++ compilation flags
42
43CXXFLAGS = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/
44
471f69dc 45
46FFLAGS = $(FOPT)
47
2012850d 48ALSRCS = $(SRCS) $(SHSRCS) $(RCSRCS) $(DUSRCS) dummies.c
49
50ALOBJS = $(SHOBJS) $(RCOBJS) $(DUOBJS)
51
52##### COMMANDS #####
53
54SLIBRARY = $(LIBDIR)/libEMCAL.$(SL)
55
56default: $(SLIBRARY)
57
58$(LIBDIR)/libEMCAL.$(SL): $(OBJS) $(FOBJS)
59
60$(DICT): $(HDRS)
61
471f69dc 62depend: $(SRCS)
2012850d 63
471f69dc 64TOCLEAN = $(OBJS) $(FOBJS) *Cint.cxx *Cint.h
2012850d 65
66CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
67
68############################### General Macros ################################
69
70include $(ALICE_ROOT)/conf/GeneralMacros
71
72############################ Dependencies #####################################
73
74-include tgt_$(ALICE_TARGET)/Make-depend
75
76
77
78
79
80
81