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