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