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