Moved AliL3HoughTrack to hough
[u/mrichter/AliRoot.git] / HLT / hough / Makefile
CommitLineData
4de874d1 1############################### TPC Makefile ##################################
2
3# Include machine specific definitions
4
5include $(ALICE_ROOT)/conf/GeneralDef
6include $(ALICE_ROOT)/conf/MachineDef.$(ALICE_TARGET)
7
8PACKAGE = AliL3Hough
9
10# C++ sources
11
12
4a942324 13SRCS = AliL3HoughTransformer.cxx AliL3Hough.cxx AliL3HoughTrack.cxx\
ce1840c9 14 AliL3HoughMaxFinder.cxx AliL3HoughEval.cxx AliL3HoughMerger.cxx \
15 AliL3Histogram.cxx AliL3Histogram1D.cxx GetGoodParticles.cxx AliL3ClusterFinder.cxx
9f33a1db 16
4de874d1 17
18# C++ Headers
19
0d1d70ec 20HDRS = $(SRCS:.cxx=.h) AliL3Defs.h GetGoodParticles.h AliL3HoughLinkDef.h
4de874d1 21# Library dictionary
22
23DICT = AliL3HoughCint.cxx
24DICTH = $(DICT:.cxx=.h)
25DICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
26
27# FORTRAN Objectrs
28
29FOBJS = $(FSRCS:.f=.o)
30
31# C Objects
32
33COBJS = $(CSRCS:.c=.o)
34
35# C++ Objects
36
37OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
38
39# C++ compilation flags
40
4a942324 41CXXFLAGS = $(CXXOPTS) -g -Wall -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/ -I$(ALICE_ROOT)/TPC \
430c83b4 42 -I$(ALICE_ROOT)/CONTAINERS -I$(HOME)/level3code/src
4de874d1 43
44#CXXFLAGS = $(CXXOPTS) -g -Wall -I$(ROOTSYS)/include -I. -I $(ALICE_ROOT)/TPC -I$(ALICE_ROOT)/include/ -DCOMPILING
45
46# FORTRAN compilation flags
47
48FFLAGS = $(FOPT)
49
50##### TARGETS #####
51
52# Target
53
ed80e789 54SLIBRARY = $(LEVEL3)/lib_$(USERNAME)/libAliL3Hough.$(SL)
4de874d1 55
56default: $(SLIBRARY)
57
ed80e789 58$(LEVEL3)/lib_$(USERNAME)/libAliL3Hough.$(SL): $(OBJS)
4de874d1 59
60$(DICT): $(HDRS)
61
62depend: $(SRCS)
63
64TOCLEAN = $(OBJS) *Cint.h *Cint.cxx
65
66############################### General Macros ################################
67
68include $(ALICE_ROOT)/conf/GeneralMacros
69
70############################ Dependencies #####################################
71
72include tgt_$(ALICE_TARGET)/Make-depend
73
74###########
75so:
ed80e789 76 rm -fr $(LEVEL3)/lib_$(USERNAME)/libAliL3Hough.so
4de874d1 77clean:
78 rm -fr tgt_Linux/*.o
ed80e789 79 rm -fr $(LEVEL3)/lib_$(USERNAME)/libAliL3Hough.so
4de874d1 80 rm -fr $(DICT) $(DICTH) $(DICTO)