Digits and reconstruction with TObject
[u/mrichter/AliRoot.git] / START / Makefile
CommitLineData
ef51244a 1
6ca40650 2###############################START Makefile##################################
3
4# Include machine specific definitions
5
6include $(ALICE_ROOT)/conf/GeneralDef
7include $(ALICE_ROOT)/conf/MachineDef.$(ALICE_TARGET)
8
9PACKAGE = START
10
11# C++ sources
12
7115262b 13SRCS = AliSTART.cxx AliSTARTv0.cxx AliSTARTv1.cxx AliSTARThit.cxx AliSTARTdigit.cxx AliSTARTvertex.cxx AliSTARTDigitizer.cxx
6ca40650 14
15# C++ Headers
16
17HDRS = $(SRCS:.cxx=.h) STARTLinkDef.h
18
19# Library dictionary
20
21DICT = STARTCint.cxx
22DICTH = $(DICT:.cxx=.h)
23DICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
24
25# FORTRAN Objectrs
26
27FOBJS = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(FSRCS))
28
29# C Objects
30
31COBJS = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRCS))
32
33# C++ Objects
34
35OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
36
37# C++ compilation flags
38
39CXXFLAGS = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/
40
41# FORTRAN compilation flags
42
43FFLAGS = $(FOPT)
44
45##### TARGETS #####
46
47# Target
48
49SLIBRARY = $(LIBDIR)/libSTART.$(SL)
50ALIBRARY = $(LIBDIR)/libSTART.a
51
52default: $(SLIBRARY)
53
54$(LIBDIR)/libSTART.$(SL): $(OBJS)
55
56$(DICT): $(HDRS)
57
58depend: $(SRCS)
59
60TOCLEAN = $(OBJS) *Cint.cxx *Cint.h
61
e2fe4c02 62CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
63
6ca40650 64############################### General Macros ################################
65
66include $(ALICE_ROOT)/conf/GeneralMacros
67
68############################ Dependencies #####################################
69
70-include tgt_$(ALICE_TARGET)/Make-depend
6ca40650 71