New makefile. Written by me, hence better
[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 \
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 21HDRS = $(SRCS:.cxx=.h) AliL3Defs.h GetGoodParticles.h AliL3HoughLinkDef.h
4de874d1 22# Library dictionary
23
24DICT = AliL3HoughCint.cxx
25DICTH = $(DICT:.cxx=.h)
26DICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
27
28# FORTRAN Objectrs
29
30FOBJS = $(FSRCS:.f=.o)
31
32# C Objects
33
34COBJS = $(CSRCS:.c=.o)
35
36# C++ Objects
37
38OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
39
40# C++ compilation flags
41
4a942324 42CXXFLAGS = $(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
49FFLAGS = $(FOPT)
50
51##### TARGETS #####
52
53# Target
54
ed80e789 55SLIBRARY = $(LEVEL3)/lib_$(USERNAME)/libAliL3Hough.$(SL)
4de874d1 56
57default: $(SLIBRARY)
58
ed80e789 59$(LEVEL3)/lib_$(USERNAME)/libAliL3Hough.$(SL): $(OBJS)
4de874d1 60
61$(DICT): $(HDRS)
62
63depend: $(SRCS)
64
65TOCLEAN = $(OBJS) *Cint.h *Cint.cxx
66
67############################### General Macros ################################
68
69include $(ALICE_ROOT)/conf/GeneralMacros
70
71############################ Dependencies #####################################
72
73include tgt_$(ALICE_TARGET)/Make-depend
74
75###########
76so:
ed80e789 77 rm -fr $(LEVEL3)/lib_$(USERNAME)/libAliL3Hough.so
4de874d1 78clean:
79 rm -fr tgt_Linux/*.o
ed80e789 80 rm -fr $(LEVEL3)/lib_$(USERNAME)/libAliL3Hough.so
4de874d1 81 rm -fr $(DICT) $(DICTH) $(DICTO)