Bugfix in AliPoints2Memory
[u/mrichter/AliRoot.git] / CRT / Makefile
CommitLineData
fb7a1f55 1############################### CRT Makefile ##################################
2
3# Include machine specific definitions
4
5include $(ALICE_ROOT)/conf/GeneralDef
6include $(ALICE_ROOT)/conf/MachineDef.$(ALICE_TARGET)
7
23489975 8PACKAGE = CRT
fb7a1f55 9
10# C++ sources
11
23489975 12SRCS = AliCRT.cxx AliCRTv0.cxx AliCRTv1.cxx AliGenCRT.cxx AliCRThit.cxx AliCRTdigit.cxx AliCRTConstants.cxx
fb7a1f55 13
14# C++ Headers
15
16HDRS = $(SRCS:.cxx=.h) CRTLinkDef.h
17
18# Library dictionary
19
20DICT = CRTCint.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)/libCRT.$(SL)
49ALIBRARY = $(LIBDIR)/libCRT.a
50
51default: $(SLIBRARY)
52
53$(LIBDIR)/libCRT.$(SL): $(OBJS)
54
55$(DICT): $(HDRS)
56
57depend: $(SRCS)
58
59TOCLEAN = $(OBJS) *Cint.cxx *Cint.h
60
61CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
62
63############################### General Macros ################################
64
65include $(ALICE_ROOT)/conf/GeneralMacros
66
67############################ Dependencies #####################################
68
69-include tgt_$(ALICE_TARGET)/Make-depend
70# DO NOT DELETE