]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EMCAL/Makefile
introducing the US EM calorimeter
[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
12SRCS = AliEMCAL.cxx AliEMCALGeometry.cxx AliEMCALv0.cxx
13
14# C++ Headers
15
16HDRS = $(SRCS:.cxx=.h) $(ROOTSYS)/include/TTree.h EMCALLinkDef.h
17
18# Library dictionary
19
20DICT = EMCALCint.cxx
21DICTH = $(DICT:.cxx=.h)
22DICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
23
24# C++ Objects
25
26OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
27
28# C++ compilation flags
29
30CXXFLAGS = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/
31
32ALSRCS = $(SRCS) $(SHSRCS) $(RCSRCS) $(DUSRCS) dummies.c
33
34ALOBJS = $(SHOBJS) $(RCOBJS) $(DUOBJS)
35
36##### COMMANDS #####
37
38SLIBRARY = $(LIBDIR)/libEMCAL.$(SL)
39
40default: $(SLIBRARY)
41
42$(LIBDIR)/libEMCAL.$(SL): $(OBJS) $(FOBJS)
43
44$(DICT): $(HDRS)
45
46depend: $(SRCS)
47
48TOCLEAN = $(OBJS) *Cint.cxx *Cint.h
49
50CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
51
52############################### General Macros ################################
53
54include $(ALICE_ROOT)/conf/GeneralMacros
55
56############################ Dependencies #####################################
57
58-include tgt_$(ALICE_TARGET)/Make-depend
59
60
61
62
63
64
65