]>
Commit | Line | Data |
---|---|---|
2012850d | 1 | ############################### EMCAL Makefile ################################# |
2 | ||
3 | # Include machine specific definitions | |
4 | ||
5 | include $(ALICE_ROOT)/conf/GeneralDef | |
6 | include $(ALICE_ROOT)/conf/MachineDef.$(ALICE_TARGET) | |
7 | ||
8 | PACKAGE = EMCAL | |
9 | ||
10 | # C++ sources | |
11 | ||
b13bbe81 | 12 | SRCS = 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 | ||
18 | HDRS = $(SRCS:.cxx=.h) $(ROOTSYS)/include/TTree.h EMCALLinkDef.h | |
19 | ||
20 | # Library dictionary | |
21 | ||
22 | DICT = EMCALCint.cxx | |
23 | DICTH = $(DICT:.cxx=.h) | |
24 | DICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT)) | |
25 | ||
26 | # C++ Objects | |
27 | ||
28 | OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO) | |
29 | ||
30 | # C++ compilation flags | |
31 | ||
32 | CXXFLAGS = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/ | |
33 | ||
34 | ALSRCS = $(SRCS) $(SHSRCS) $(RCSRCS) $(DUSRCS) dummies.c | |
35 | ||
36 | ALOBJS = $(SHOBJS) $(RCOBJS) $(DUOBJS) | |
37 | ||
38 | ##### COMMANDS ##### | |
39 | ||
40 | SLIBRARY = $(LIBDIR)/libEMCAL.$(SL) | |
41 | ||
42 | default: $(SLIBRARY) | |
43 | ||
44 | $(LIBDIR)/libEMCAL.$(SL): $(OBJS) $(FOBJS) | |
45 | ||
46 | $(DICT): $(HDRS) | |
47 | ||
48 | depend: $(SRCS) | |
49 | ||
50 | TOCLEAN = $(OBJS) *Cint.cxx *Cint.h | |
51 | ||
52 | CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS)) | |
53 | ||
54 | ############################### General Macros ################################ | |
55 | ||
56 | include $(ALICE_ROOT)/conf/GeneralMacros | |
57 | ||
58 | ############################ Dependencies ##################################### | |
59 | ||
60 | -include tgt_$(ALICE_TARGET)/Make-depend | |
61 | ||
62 | ||
63 | ||
64 | ||
65 | ||
66 | ||
67 |