Last minute changes and new code for event mixing and reconstruction (A.Maevskaia)
[u/mrichter/AliRoot.git] / FMD / Makefile
... / ...
CommitLineData
1############################### FMD Makefile ##################################
2
3# Include machine specific definitions
4
5include $(ALICE_ROOT)/conf/GeneralDef
6include $(ALICE_ROOT)/conf/MachineDef.$(ALICE_TARGET)
7
8PACKAGE = FMD
9
10# C++ sources
11
12SRCS = AliFMD.cxx AliFMDv0.cxx AliFMDv1.cxx AliFMDhit.cxx AliFMDdigit.cxx AliFMDMerger.cxx AliFMDReconstruction.cxx AliFMDReconstParticles.cxx
13
14# C++ Headers
15
16HDRS = $(SRCS:.cxx=.h) FMDLinkDef.h
17
18# Library dictionary
19
20DICT = FMDCint.cxx
21DICTH = $(DICT:.cxx=.h)
22DICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
23
24# FORTRAN Objectrs
25
26FOBJS = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(FSRCS))
27
28# C Objects
29
30COBJS = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRCS))
31
32# C++ Objects
33
34OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
35
36# C++ compilation flags
37
38CXXFLAGS = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/
39
40# FORTRAN compilation flags
41
42FFLAGS = $(FOPT)
43
44##### TARGETS #####
45
46# Target
47
48SLIBRARY = $(LIBDIR)/libFMD.$(SL)
49ALIBRARY = $(LIBDIR)/libFMD.a
50
51default: $(SLIBRARY)
52
53tst: Hit2Digits.cxx
54 g++ -g $(CXXFLAGS) $(SLIBRARY) Hit2Digits.cxx $(ROOTLIBS) -o tst
55
56$(LIBDIR)/libFMD.$(SL): $(OBJS)
57
58$(DICT): $(HDRS)
59
60depend: $(SRCS)
61
62TOCLEAN = $(OBJS) *Cint.cxx *Cint.h
63
64CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
65
66############################### General Macros ################################
67
68include $(ALICE_ROOT)/conf/GeneralMacros
69
70############################ Dependencies #####################################
71
72-include tgt_$(ALICE_TARGET)/Make-depend
73
74
75
76
77
78
79