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