New version of the EMCAL code: bug fixes, new digitisation classes (B.Nilsen)
[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 \
14 AliEMCALSDigitizer.cxx AliEMCALDigitizer.cxx
2012850d 15
16# C++ Headers
17
18HDRS = $(SRCS:.cxx=.h) $(ROOTSYS)/include/TTree.h EMCALLinkDef.h
19
20# Library dictionary
21
22DICT = EMCALCint.cxx
23DICTH = $(DICT:.cxx=.h)
24DICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
25
26# C++ Objects
27
28OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
29
30# C++ compilation flags
31
32CXXFLAGS = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/
33
34ALSRCS = $(SRCS) $(SHSRCS) $(RCSRCS) $(DUSRCS) dummies.c
35
36ALOBJS = $(SHOBJS) $(RCOBJS) $(DUOBJS)
37
38##### COMMANDS #####
39
40SLIBRARY = $(LIBDIR)/libEMCAL.$(SL)
41
42default: $(SLIBRARY)
43
44$(LIBDIR)/libEMCAL.$(SL): $(OBJS) $(FOBJS)
45
46$(DICT): $(HDRS)
47
48depend: $(SRCS)
49
50TOCLEAN = $(OBJS) *Cint.cxx *Cint.h
51
52CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
53
54############################### General Macros ################################
55
56include $(ALICE_ROOT)/conf/GeneralMacros
57
58############################ Dependencies #####################################
59
60-include tgt_$(ALICE_TARGET)/Make-depend
61
62
63
64
65
66
67