]> git.uio.no Git - u/mrichter/AliRoot.git/blame - LHC/Makefile
Solved bug to not merge clusters on the same pad.
[u/mrichter/AliRoot.git] / LHC / Makefile
CommitLineData
11141716 1############################### LHC Makefile ################################
2
3# Include machine specific definitions
4
5include $(ALICE_ROOT)/conf/GeneralDef
6include $(ALICE_ROOT)/conf/MachineDef.$(ALICE_TARGET)
7
8PACKAGE = LHC
9
10# C++ sources
11
12SRCS = AliLHC.cxx AliLhcIRegion.cxx AliLhcBeam.cxx AliLhcProcess.cxx \
13 AliLhcProcessBB.cxx AliLhcProcessIBS.cxx AliLhcMonitor.cxx \
14 AliLhcProcessBT.cxx
15
16# C++ Headers
17
18HDRS = $(SRCS:.cxx=.h)
19
20# Library dictionary
21
22DICT = LHCCint.cxx
23DICTH = $(DICT:.cxx=.h)
24DICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
25
26# FORTRAN Objectrs
27
28FOBJS = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(FSRCS))
29
30# C Objects
31
32COBJS = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRCS))
33
34# C++ Objects
35
36OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
37
38# C++ compilation flags
39
40CXXFLAGS = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/
41
42# FORTRAN compilation flags
43
44FFLAGS = $(FOPT)
45
46##### TARGETS #####
47
48# Target
49
50SLIBRARY = $(LIBDIR)/libLHC.$(SL)
51ALIBRARY = $(LIBDIR)/libLHC.a
52
53default: $(SLIBRARY)
54
55$(LIBDIR)/libLHC.$(SL): $(OBJS)
56
57$(DICT): $(HDRS)
58
59depend: $(SRCS)
60
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